aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-01-27 18:14:47 +0100
committerJean Delvare <khali@hyperion.delvare>2008-01-27 18:14:47 +0100
commit05c7abaeb344975a3257366a52368a4866aa518d (patch)
tree594b2f2f987fca4cda9ac98db87abb2f47af24e6 /drivers/usb
parenti2c: normal_i2c can be made const (remaining drivers) (diff)
downloadlinux-dev-05c7abaeb344975a3257366a52368a4866aa518d.tar.xz
linux-dev-05c7abaeb344975a3257366a52368a4866aa518d.zip
i2c: Kill rogue driver IDs
I2C driver IDs are optional, so if you don't need one, just omit it. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ohci-pnx4008.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-pnx4008.c b/drivers/usb/host/ohci-pnx4008.c
index 642733d091fa..6c52c66b659f 100644
--- a/drivers/usb/host/ohci-pnx4008.c
+++ b/drivers/usb/host/ohci-pnx4008.c
@@ -123,7 +123,6 @@ static struct i2c_client_address_data addr_data = {
};
struct i2c_driver isp1301_driver = {
- .id = I2C_DRIVERID_I2CDEV, /* Fake Id */
.class = I2C_CLASS_HWMON,
.attach_adapter = isp1301_probe,
.detach_client = isp1301_detach,