Title: [9110] trunk/drivers/input/keyboard/adp5588-keys.c: [#6206] adp5588-keys: use obvious i2c_device_id name string
Revision
9110
Author
hennerich
Date
2010-08-26 05:46:10 -0400 (Thu, 26 Aug 2010)

Log Message

[#6206] adp5588-keys: use obvious i2c_device_id name string

KBUILD_MODNAME normalizes "-" to "_". This is none obvious and results 
that the id name for ADP5588 is "adp5588_keys" while the other supported
one is "adp5587-keys".
Use an obvious id name string for both supported devices.

Modified Paths

Diff

Modified: trunk/drivers/input/keyboard/adp5588-keys.c (9109 => 9110)


--- trunk/drivers/input/keyboard/adp5588-keys.c	2010-08-26 08:46:40 UTC (rev 9109)
+++ trunk/drivers/input/keyboard/adp5588-keys.c	2010-08-26 09:46:10 UTC (rev 9110)
@@ -448,7 +448,7 @@
 #endif
 
 static const struct i2c_device_id adp5588_id[] = {
-	{ KBUILD_MODNAME, 0 },
+	{ "adp5588-keys", 0 },
 	{ "adp5587-keys", 0 },
 	{ }
 };
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to