]> git.baikalelectronics.ru Git - kernel.git/commit
Input: max8997_haptic - fix module alias
authorJavier Martinez Canillas <javier@osg.samsung.com>
Sat, 29 Aug 2015 00:30:46 +0000 (17:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 29 Aug 2015 00:46:25 +0000 (17:46 -0700)
commit3aea1f19c25dd5c4d83f9f726ded446aee2071a2
treeb389213037069ddaad64eb2b8f54ac8f7a7f7b93
parent0f978d65270781f05a17c176ba7721250b6f80a2
Input: max8997_haptic - fix module alias

The driver is a platform driver and not a I2C driver so its modalias
should be exported with MODULE_DEVICE_TABLE(platform,...) instead of
MODULE_DEVICE_TABLE(i2c,...).

Also, remove the unnecessary MODULE_ALIAS("platform:max8997-haptic")
now that the correct module alias is created.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/max8997_haptic.c