]> Pileus Git - ~andy/linux/commit
Input: adp5588-keys - use more obvious i2c_device_id name string
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 19 Oct 2010 00:46:03 +0000 (17:46 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 19 Oct 2010 00:48:11 +0000 (17:48 -0700)
commitd537155a09cd69f309fa31fc8bcc7a4b1d5a9f6c
tree66cf4d424174409711712ab393b3483d1fde80c3
parentb534422b2d1189740c6144c3c7a296be89f581c7
Input: adp5588-keys - use more obvious i2c_device_id name string

KBUILD_MODNAME normalizes "-" to "_".  This is non-obvious and results in
the id name for ADP5588 being "adp5588_keys" while the other supported id
is "adp5587-keys".  So avoid this define and use an explicit string as the
id name.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/adp5588-keys.c