Stephen Warren d9afca37de of/i2c: call i2c_verify_client from of_find_i2c_device_by_node
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@nvidia.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2012-05-12 14:28:15 +02:00
..
2012-02-27 10:09:25 -06:00
2012-03-28 12:34:33 -07:00
2012-02-27 10:09:52 -06:00
2011-10-31 19:31:55 -04:00
2011-12-27 16:37:30 -06:00