> 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