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)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 18 Sep 2012 13:45:13 +0000 (15:45 +0200)
commit64b9e4d803b154a78a2e76bd466bb32ad6f383de
treec5d3fa51cc26786da3ca9a1ccf547cce5132c1c2
parent019a7e6b7b312b17cd74b45d09d4ec17486c4088
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: Samuel Ortiz <sameo@linux.intel.com>
drivers/input/misc/twl4030-vibra.c