From: Kevin Hilman Date: Fri, 30 Sep 2011 18:24:04 +0000 (-0700) Subject: ARM: OMAP2+: 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=d269914ece0498f31603ecd85ed3d7a586b3cbcd;p=pandora-kernel.git ARM: OMAP2+: 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. Tested-by: Abhilash Koyamangalath Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed