Re: [PATCH 06/12] i2c: taos-evm: convert to use i2c_new_client_device()

From: Wolfram Sang
Date: Wed Jan 15 2020 - 14:56:25 EST



> In my opinion -ENODEV should only be used for "I expected a device but
> could not find it". For the case where we simply don't know what slave
> device to instantiate, NULL seems more appropriate, as it's not an
> error.

Well, I copied the behaviour from driver core here. -ENODEV is the one
errno where no messages will be displayed when returned from probe. So,
I think we can keep it as is.

Attachment: signature.asc
Description: PGP signature