mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
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>
This commit is contained in:
parent
b534422b2d
commit
d537155a09
1 changed files with 1 additions and 1 deletions
|
@ -660,7 +660,7 @@ static const struct dev_pm_ops adp5588_dev_pm_ops = {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const struct i2c_device_id adp5588_id[] = {
|
static const struct i2c_device_id adp5588_id[] = {
|
||||||
{ KBUILD_MODNAME, 0 },
|
{ "adp5588-keys", 0 },
|
||||||
{ "adp5587-keys", 0 },
|
{ "adp5587-keys", 0 },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue