On Tue, Apr 17, 2012 at 12:42:15PM -0600, Stephen Warren wrote: > From: Stephen Warren <swarren@xxxxxxxxxx> > > i2c_bus_type may contain both I2C clients and I2C adapters. Fix > of_find_i2c_device_by_node to call i2c_verify_client to ensure that it > only returns non-NULL of I2C clients. > > Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx> Patch looks good to me, so I took the liberty and applied it to i2c-embedded/for-next. Acks by either Grant or Rob would still be appreciated. Thanks! -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
Attachment:
signature.asc
Description: Digital signature