From: Kevin Hilman Date: Fri, 30 Sep 2011 18:24:04 +0000 (-0700) Subject: ARM: OMAP: PM: only register TWL with voltage layer when device is present X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d5e33bf02964890f07c1172dacd9eed5968fa27;p=pandora-kernel.git ARM: OMAP: PM: only register TWL with voltage layer when device is present 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 --- Reading git-diff-tree failed