Thread (1 message) 1 message, 1 author, 2012-04-23

Re: [PATCH] of/i2c: call i2c_verify_client from of_find_i2c_device_by_node

From: Wolfram Sang <hidden>
Date: 2012-04-23 11:04:54
Also in: linux-i2c

On Tue, Apr 17, 2012 at 12:42:15PM -0600, Stephen Warren wrote:
From: Stephen Warren <redacted>

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 <redacted>
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/  |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help