Re: [PATCH] Input: max8997_haptic - Fix module alias

2015-08-28 Thread Dmitry Torokhov
On Wed, Aug 26, 2015 at 02:19:41AM +0200, Javier Martinez Canillas wrote: > 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("pla

[PATCH] Input: max8997_haptic - Fix module alias

2015-08-25 Thread Javier Martinez Canillas
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: