Title: [9111] trunk/drivers/input/keyboard/adp5589-keys.c: adp5589-keys: use obvious i2c_device_id name string
Revision
9111
Author
hennerich
Date
2010-08-26 05:52:44 -0400 (Thu, 26 Aug 2010)

Log Message

adp5589-keys: use obvious i2c_device_id name string

KBUILD_MODNAME normalizes "-" to "_". This is none obvious and results
that the id name is "adp5589_keys" while the file is named "adp5589-keys"

Modified Paths

Diff

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


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

Reply via email to