Messages in this thread |  | | Date | Wed, 15 Jan 2020 20:56:21 +0100 | From | Wolfram Sang <> | Subject | Re: [PATCH 06/12] i2c: taos-evm: convert to use i2c_new_client_device() |
| |
> 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.
[unhandled content-type:application/pgp-signature]
|  |