Commit add1a2fa authored by Lourdes Pedrajas's avatar Lourdes Pedrajas Committed by Greg Kroah-Hartman

staging: greybus: i2c.c: remove commented out function

Remove function gb_i2c_smbus_xfer() which is unused.
Signed-off-by: default avatarLourdes Pedrajas <lu@pplo.net>
Link: https://lore.kernel.org/r/20200309170643.4947-1-lu@pplo.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b642a2f9
...@@ -215,20 +215,6 @@ static int gb_i2c_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, ...@@ -215,20 +215,6 @@ static int gb_i2c_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
return gb_i2c_transfer_operation(gb_i2c_dev, msgs, msg_count); return gb_i2c_transfer_operation(gb_i2c_dev, msgs, msg_count);
} }
#if 0
/* Later */
static int gb_i2c_smbus_xfer(struct i2c_adapter *adap,
u16 addr, unsigned short flags, char read_write,
u8 command, int size, union i2c_smbus_data *data)
{
struct gb_i2c_device *gb_i2c_dev;
gb_i2c_dev = i2c_get_adapdata(adap);
return 0;
}
#endif
static u32 gb_i2c_functionality(struct i2c_adapter *adap) static u32 gb_i2c_functionality(struct i2c_adapter *adap)
{ {
struct gb_i2c_device *gb_i2c_dev = i2c_get_adapdata(adap); struct gb_i2c_device *gb_i2c_dev = i2c_get_adapdata(adap);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment