ARM: OMAP: PM: only register TWL with voltage layer when device is present
authorKevin Hilman <khilman@ti.com>
Fri, 30 Sep 2011 18:24:04 +0000 (11:24 -0700)
committerKevin Hilman <khilman@ti.com>
Fri, 18 Nov 2011 23:52:33 +0000 (15:52 -0800)
Current code registers voltage layer details for TWL PMIC even when a TWL
has not been registered.  Fix this to only register the TWL with voltage
layer when the TWL PMIC is initialized by board-level code.

Signed-off-by: Kevin Hilman <khilman@ti.com>

No differences found