ARM: OMAP2+: 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>
Thu, 10 Nov 2011 17:43:22 +0000 (09:43 -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.

Tested-by: Abhilash Koyamangalath <abhilash.kv@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>

No differences found