Input: stmpe-ts - fix automatic module loading
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 22 May 2015 20:09:11 +0000 (13:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 22 May 2015 22:30:11 +0000 (15:30 -0700)
commitf91a3f08b741e3c5ecf501c160e51f6032718f52
tree9377e88c031c45af1000ede29b34bcbff4096526
parent25d238b2260973bfca0b82181824340c7aeae45a
Input: stmpe-ts - fix automatic module loading

When STMPE is instantiated via device tree individual MFD cells rae formed
with OF modaliases, not platform modaliases, and so we need to add OF
device table to the driver if we want it to load automatically:

of:Nstmpe_touchscreenT<NULL>Cst,stmpe-ts

Reported-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/stmpe-ts.c