]> 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)
commit4783140d7bdac8ba284484f0689527d529afbfbd
treeb389213037069ddaad64eb2b8f54ac8f7a7f7b93
parent20e9c62f1caa7837bef63bf8ffa0ee00a0157d5c
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