On 05/22/15 15:44, Joakim Gebart wrote:
> I like the idea of getting rid of some redundant input validation. For
> example, if you are internally using spi_transfer_byte to provide
> spi_transfer_regs, then if the SPI device is valid for the first byte
> transferred, then it is probably going to be valid for the rest of the
> bytes in the same function call chain.
I propose that a device is checked once for validity when calling the
init_function, and then not anymore...

devel mailing list

Reply via email to