[PATCH v3 3/5] i2c: recovery: change input parameter to i2c_adapter for prepare/unprepare_recovery

Wolfram Sang wsa at the-dreams.de
Thu Dec 4 10:29:11 PST 2014


On Mon, Dec 01, 2014 at 05:34:05PM +0200, Grygorii Strashko wrote:
> This patch changes type of input parameter for .prepare/unprepare_recovery()
> callbacks from struct i2c_bus_recovery_info * to struct i2c_adapter *.
> This allows to simplify implementation of these callbacks and avoid
> type conversations from i2c_bus_recovery_info to i2c_adapter.
> The i2c_bus_recovery_info can be simply retrieved from struct i2c_adapter
> which contains pointer on it.
> 
> CC: Sekhar Nori <nsekhar at ti.com>
> CC: Kevin Hilman <khilman at deeprootsystems.com>
> CC: Santosh Shilimkar <ssantosh at kernel.org>
> CC: Murali Karicheri <m-karicheri2 at ti.com>
> Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> Signed-off-by: Grygorii Strashko <grygorii.strashko at ti.com>

Ah, bus recovery, I need to have a closer look on this one. Scheduled
for 3.20.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141204/14761970/attachment.sig>


More information about the linux-arm-kernel mailing list