OSDN Git Service

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)
commitd6f5aef298b5e5bd12e5d3ef111a4d0fc727ca70
treeb389213037069ddaad64eb2b8f54ac8f7a7f7b93
parent742f452b9b60c228a33e8d35fd2c74cd15bdaa29
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