Skip to content
Commit 643dd09e authored by Stephen Warren's avatar Stephen Warren Committed by Wolfram Sang
Browse files

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: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
parent ec39ef83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment