HID: i2c-hid: change I2C name
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>
Tue, 4 Dec 2012 15:27:42 +0000 (16:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 5 Dec 2012 09:52:16 +0000 (10:52 +0100)
no I2C driver has "i2c" in its name. It makes more sense to call this
i2c driver "hid".

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid.c

index 67ab5b7b64d8a8e31d4d3ec540a9779f4cfc9173..0fbb22906806740ab46790b50ffc3df2bb82139d 100644 (file)
@@ -949,7 +949,7 @@ static int i2c_hid_resume(struct device *dev)
 static SIMPLE_DEV_PM_OPS(i2c_hid_pm, i2c_hid_suspend, i2c_hid_resume);
 
 static const struct i2c_device_id i2c_hid_id_table[] = {
-       { "i2c_hid", 0 },
+       { "hid", 0 },
        { },
 };
 MODULE_DEVICE_TABLE(i2c, i2c_hid_id_table);