diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-04-17 12:43:33 -0600 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-05-12 14:28:16 +0200 |
commit | 643dd09eb27b40ced671564edbe2640935fe37c2 (patch) | |
tree | 2237d5e572351e2d740c34050f7f20c2ec06745b /drivers/of | |
parent | ec39ef83eb9b22cc732329e85fc4ec03e76d9dda (diff) |
i2c: implement i2c_verify_adapter
This converts a struct device * to a struct i2c_adapter * while verifying
that the device really is an I2C adapter. Just like i2c_verify_client.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions