Mark Brown
4b7d293c64
Input: mms114 - Fix regulator enable and disable paths
...
When it uses regulators the mms114 driver checks to see if it managed to
acquire regulators and ignores errors. This is not the intended usage and
not great style in general.
Since the driver already refuses to probe if it fails to allocate the
regulators simply make the enable and disable calls unconditional and
add appropriate error handling, including adding cleanup of the
regulators if setup_reg() fails.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Acked-by: Joonyoung Shim <jy0922.shim@samsung.com >
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2013-03-10 18:34:07 -07:00
Sachin Kamat
8a0b6c5d14
Input: mms114 - switch to using managed resources
...
devm_* APIs are device managed and make the exit and clean up code
simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Acked-by: Laxman Dewangan<ldewangan@nvidia.com >
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2013-01-17 00:28:05 -08:00
Bill Pemberton
e2619cf78e
Input: remove use of __devexit
...
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2012-11-24 00:05:38 -08:00
Bill Pemberton
5298cc4cc7
Input: remove use of __devinit
...
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Acked-by: Javier Martinez Canillas <javier@dowhile0.org >
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2012-11-24 00:05:19 -08:00
Bill Pemberton
d6f6dfd941
Input: remove use of __devinitdata
...
CONFIG_HOTPLUG is going away as an option so __devinitdata is no
longer needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2012-11-24 00:03:59 -08:00
Bill Pemberton
1cb0aa8817
Input: remove use of __devexit_p
...
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk >
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2012-11-24 00:03:48 -08:00
Tomasz Figa
ad5396ee32
Input: mms114 - add device tree bindings
...
Add device tree bindings for mms114 touchscreen.
[Dmitry Torokhov: added #ifdef CONFIG_OF guards]
Signed-off-by: Tomasz Figa <t.figa@samsung.com >
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2012-10-11 01:29:36 -07:00
Henrik Rydberg
b4adbbefc2
Input: MT - Add flags to input_mt_init_slots()
...
Preparing to move more repeated code into the mt core, add a flags
argument to the input_mt_slots_init() function.
Reviewed-and-tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr >
Tested-by: Ping Cheng <pingc@wacom.com >
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Signed-off-by: Henrik Rydberg <rydberg@euromail.se >
2012-09-19 19:50:18 +02:00
Joonyoung Shim
07b8481d4a
Input: add MELFAS mms114 touchscreen driver
...
This is a initial driver for new touchscreen chip mms114 of MELFAS.
It uses I2C interface and supports 10 multi touch.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com >
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com >
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2012-07-17 23:16:17 -07:00