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

From: Wolfram Sang
Date: Thu Jan 12 2017 - 14:22:21 EST



> 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