Input: twl4030-vibra: Support for DT booted kernel
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 10 Sep 2012 10:46:26 +0000 (13:46 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 22 Sep 2012 15:18:24 +0000 (11:18 -0400)
commit79026219588a8102a831ec682e11696fee35797d
tree7545e204fb9af3b853e07d0039d14b331a0ce50f
parent7bf7ff6f57dcb30c80ad1b65cebdebf4feb3c666
Input: twl4030-vibra: Support for DT booted kernel

Add support when the kernel has been booted with DT blob. In this case the
pdata is NULL, we need to reach up to the core node and check if the codec
part has been enabled to determine if we need to coexist with the codec or
not.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/input/misc/twl4030-vibra.c