[PATCH] i2c: i2c-cadence: Don't register the adapter until it's ready

Wolfram Sang wsa at the-dreams.de
Thu Jan 12 11:22:09 PST 2017


> Because the adapter registration i2c_add_adapter() can fail, information
> about the adapter initialization would be expected only in case of
> successful registration.

Exactly.

> 
> The information sent to the kernel log buffer here is quite trivial,
> probably dev_info() can be just removed, but in any case it should be
> a separate change.

I am not sure I get you here, but to not have false positive success
messages, I'd think that should be all in one patch.

Regards,

   Wolfram




More information about the linux-arm-kernel mailing list