[PATCH] Input: Introduce the use of managed version of kzalloc

2014-05-07 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. This data is the third argument to da9052_request_irq in the two cases below. The following Coccinelle semantic patch was used for making the

Re: [linux-sunxi] Re: [PATCH v5 8/8] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-05-07 Thread Maxime Ripard
On Tue, May 06, 2014 at 09:38:23AM +0200, Carlo Caione wrote: > On Tue, May 6, 2014 at 12:51 AM, Maxime Ripard > wrote: > > On Sat, May 03, 2014 at 02:21:06PM +0200, Carlo Caione wrote: > >> On Sat, May 3, 2014 at 3:09 AM, Maxime Ripard > >> wrote: > >> > Hi, > >> > > >> > On Thu, May 01, 2014 at

Re: [PATCH] input: rotary encoder: implement quarter period mode

2014-05-07 Thread Dmitry Torokhov
On Wed, May 07, 2014 at 03:45:43PM +0100, Mark Rutland wrote: > Hi, > > On Wed, Dec 18, 2013 at 02:43:18PM +, Sascha Hauer wrote: > > Some rotary encoders have a stable state in all output state > > combinations. Add support for this type of encoder. > > > > Signed-off-by: Sascha Hauer > > C

Re: [PATCH] input: rotary encoder: implement quarter period mode

2014-05-07 Thread Ezequiel García
On 7 May 2014 11:45, Mark Rutland wrote: > On Wed, Dec 18, 2013 at 02:43:18PM +, Sascha Hauer wrote: >> Some rotary encoders have a stable state in all output state >> combinations. Add support for this type of encoder. >> >> Signed-off-by: Sascha Hauer >> Cc: Dmitry Torokhov >> Cc: Daniel M

Re: [PATCH] input: rotary encoder: implement quarter period mode

2014-05-07 Thread Mark Rutland
Hi, On Wed, Dec 18, 2013 at 02:43:18PM +, Sascha Hauer wrote: > Some rotary encoders have a stable state in all output state > combinations. Add support for this type of encoder. > > Signed-off-by: Sascha Hauer > Cc: Dmitry Torokhov > Cc: Daniel Mack > Cc: linux-input@vger.kernel.org > Cc:

[RFC/PATCH 0/3] add adp5589 dt support

2014-05-07 Thread Guido Martínez
This patchset enables adp5589 keypad configuration via dt. Until now, this was only done via platform data. The adp5589 has many functions besides matrix keypad decoding. For now, we only support keypad related functionality: including scan time and pull resistors configuration. Patch 1 adds th

[RFC/PATCH 3/3] DT: input: adp5589: add binding documentation

2014-05-07 Thread Guido Martínez
Add documentation for the adp5589 DT binding. Signed-off-by: Guido Martínez --- .../devicetree/bindings/input/adp5589.txt | 63 ++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/adp5589.txt diff --git a/Documentation/dev

[RFC/PATCH 1/3] drivers: input: keyboard: adp5589: add DT support

2014-05-07 Thread Guido Martínez
Add DT support for the Analog ADP5589 matrix keypad decoding functions. Signed-off-by: Guido Martínez --- drivers/input/keyboard/adp5589-keys.c | 207 +- 1 file changed, 206 insertions(+), 1 deletion(-) diff --git a/drivers/input/keyboard/adp5589-keys.c b/driver

[RFC/PATCH 2/3] DT: input: adp5589: add adp5589 include file

2014-05-07 Thread Guido Martínez
Add include file with macros ADP_COL and ADP_ROW, used to specify pull configuration for the adp5589. Signed-off-by: Guido Martínez --- include/dt-bindings/input/adp5589.h | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 include/dt-bindings/input/adp5589.h diff --git a/include/d

Re: PATCH 11/13] Input: lpc32xx_ts - Make of_device_id array const

2014-05-07 Thread Roland Stigge
On 05/07/2014 11:24 AM, Jingoo Han wrote: > Make of_device_id array const, because all OF functions > handle it as const. > > Signed-off-by: Jingoo Han > --- > drivers/input/touchscreen/lpc32xx_ts.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/input/touchs

Re: [PATCH 13/13] Input: zforce - Make of_device_id array const

2014-05-07 Thread Heiko Stübner
Am Mittwoch, 7. Mai 2014, 18:26:25 schrieb Jingoo Han: > Make of_device_id array const, because all OF functions > handle it as const. > > Signed-off-by: Jingoo Han Acked-by: Heiko Stuebner > --- > drivers/input/touchscreen/zforce_ts.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 09/13] Input: auo-pixcir-ts - Make of_device_id array const

2014-05-07 Thread Heiko Stübner
Am Mittwoch, 7. Mai 2014, 18:22:10 schrieb Jingoo Han: > Make of_device_id array const, because all OF functions > handle it as const. > > Signed-off-by: Jingoo Han Acked-by: Heiko Stuebner > --- > drivers/input/touchscreen/auo-pixcir-ts.c |2 +- > 1 file changed, 1 insertion(+), 1 deletio

[PATCH 13/13] Input: zforce - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/touchscreen/zforce_ts.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c in

[PATCH 12/13] Input: mms114 - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/touchscreen/mms114.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c index 8a598

PATCH 11/13] Input: lpc32xx_ts - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/touchscreen/lpc32xx_ts.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/lpc32xx_ts.c b/drivers/input/touchscreen/lpc32xx_ts.c

[PATCH 10/13] Input: egalax_ts - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/touchscreen/egalax_ts.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c in

[PATCH 09/13] Input: auo-pixcir-ts - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/touchscreen/auo-pixcir-ts.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pi

[PATCH 08/13] Input: apbps2 - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/serio/apbps2.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/serio/apbps2.c b/drivers/input/serio/apbps2.c index 17e01a8..98be824 100644

[PATCH 07/13] Input: olpc_apsp - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/serio/olpc_apsp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/serio/olpc_apsp.c b/drivers/input/serio/olpc_apsp.c index 5d2fe7e..d906f3

[PATCH 06/13] Input: rotary_encoder - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/misc/rotary_encoder.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c index 99

[PATCH 05/13] Input: gpio-beeper - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/misc/gpio-beeper.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/gpio-beeper.c b/drivers/input/misc/gpio-beeper.c index 5be291d..66c

[PATCH 04/13] Input: imx_keypad - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/keyboard/imx_keypad.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/imx_keypad.c b/drivers/input/keyboard/imx_keypad.c index 97

[PATCH 03/13] Input: gpio_keys_polled - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/keyboard/gpio_keys_polled.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys

[PATCH 02/13] Input: gpio_keys - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/keyboard/gpio_keys.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 52dc8

[PATCH 01/13] Input: clps711x-keypad - Make of_device_id array const

2014-05-07 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/input/keyboard/clps711x-keypad.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/clps711x-keypad.c b/drivers/input/keyboard/clps711x-ke