Loading drivers/i2c/i2c-core.c +3 −4 Original line number Diff line number Diff line Loading @@ -186,7 +186,7 @@ static struct device_attribute i2c_dev_attrs[] = { { }, }; struct bus_type i2c_bus_type = { static struct bus_type i2c_bus_type = { .name = "i2c", .dev_attrs = i2c_dev_attrs, .match = i2c_device_match, Loading @@ -197,7 +197,6 @@ struct bus_type i2c_bus_type = { .suspend = i2c_device_suspend, .resume = i2c_device_resume, }; EXPORT_SYMBOL_GPL(i2c_bus_type); /** * i2c_new_device - instantiate an i2c device for use with a new style driver Loading Loading @@ -281,7 +280,7 @@ EXPORT_SYMBOL_GPL(i2c_unregister_device); /* I2C bus adapters -- one roots each I2C or SMBUS segment */ void i2c_adapter_dev_release(struct device *dev) static void i2c_adapter_dev_release(struct device *dev) { struct i2c_adapter *adap = to_i2c_adapter(dev); complete(&adap->dev_released); Loading @@ -299,7 +298,7 @@ static struct device_attribute i2c_adapter_attrs[] = { { }, }; struct class i2c_adapter_class = { static struct class i2c_adapter_class = { .owner = THIS_MODULE, .name = "i2c-adapter", .dev_attrs = i2c_adapter_attrs, Loading include/linux/i2c.h +0 −2 Original line number Diff line number Diff line Loading @@ -35,8 +35,6 @@ #include <linux/sched.h> /* for completion */ #include <linux/mutex.h> extern struct bus_type i2c_bus_type; /* --- General options ------------------------------------------------ */ struct i2c_msg; Loading Loading
drivers/i2c/i2c-core.c +3 −4 Original line number Diff line number Diff line Loading @@ -186,7 +186,7 @@ static struct device_attribute i2c_dev_attrs[] = { { }, }; struct bus_type i2c_bus_type = { static struct bus_type i2c_bus_type = { .name = "i2c", .dev_attrs = i2c_dev_attrs, .match = i2c_device_match, Loading @@ -197,7 +197,6 @@ struct bus_type i2c_bus_type = { .suspend = i2c_device_suspend, .resume = i2c_device_resume, }; EXPORT_SYMBOL_GPL(i2c_bus_type); /** * i2c_new_device - instantiate an i2c device for use with a new style driver Loading Loading @@ -281,7 +280,7 @@ EXPORT_SYMBOL_GPL(i2c_unregister_device); /* I2C bus adapters -- one roots each I2C or SMBUS segment */ void i2c_adapter_dev_release(struct device *dev) static void i2c_adapter_dev_release(struct device *dev) { struct i2c_adapter *adap = to_i2c_adapter(dev); complete(&adap->dev_released); Loading @@ -299,7 +298,7 @@ static struct device_attribute i2c_adapter_attrs[] = { { }, }; struct class i2c_adapter_class = { static struct class i2c_adapter_class = { .owner = THIS_MODULE, .name = "i2c-adapter", .dev_attrs = i2c_adapter_attrs, Loading
include/linux/i2c.h +0 −2 Original line number Diff line number Diff line Loading @@ -35,8 +35,6 @@ #include <linux/sched.h> /* for completion */ #include <linux/mutex.h> extern struct bus_type i2c_bus_type; /* --- General options ------------------------------------------------ */ struct i2c_msg; Loading