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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 |  |

Attachment: signature.asc
Description: Digital signature

[LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux