Message ID | 1354634875-5182-2-git-send-email-benjamin.tissoires@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Jiri Kosina |
Headers | show |
On Tue, 4 Dec 2012 16:27:42 +0100, Benjamin Tissoires wrote: > 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> > --- > drivers/hid/i2c-hid/i2c-hid.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c > index 67ab5b7..0fbb229 100644 > --- a/drivers/hid/i2c-hid/i2c-hid.c > +++ b/drivers/hid/i2c-hid/i2c-hid.c > @@ -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); Reviewed-by: Jean Delvare <khali@linux-fr.org>
On Tue, 4 Dec 2012, Jean Delvare wrote: > > 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> > > --- > > drivers/hid/i2c-hid/i2c-hid.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c > > index 67ab5b7..0fbb229 100644 > > --- a/drivers/hid/i2c-hid/i2c-hid.c > > +++ b/drivers/hid/i2c-hid/i2c-hid.c > > @@ -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); > > Reviewed-by: Jean Delvare <khali@linux-fr.org> Applied, thanks.
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index 67ab5b7..0fbb229 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c-hid/i2c-hid.c @@ -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);
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> --- drivers/hid/i2c-hid/i2c-hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)