mfd: stmpe: DT: Enable no-irq mode configuration
authorGabriel Fernandez <gabriel.fernandez@stericsson.com>
Fri, 1 Mar 2013 12:07:16 +0000 (13:07 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 5 Apr 2013 16:05:54 +0000 (18:05 +0200)
commita200e320f7ba7daa42e5fae3a1c67ed2f704b05c
treed7ae15dd07f70e8d4009338a62738c9cb15430a0
parent5ab3a89a741fa4c331f42dec17fde59586dc59e6
mfd: stmpe: DT: Enable no-irq mode configuration

If there is no interrupt property into stmpe node
then activate the no-irq mode by setting the irq
value to -1.

Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/stmpe.c