commit | 46232a3622c6e33605906ee6690dfef372925f53 | [log] [tgz] |
---|---|---|
author | Kevin Hilman <khilman@ti.com> | Wed Nov 23 14:43:01 2011 -0800 |
committer | Tony Lindgren <tony@atomide.com> | Wed Nov 23 14:43:01 2011 -0800 |
tree | cdfa7d32a8ebf7f380aaff0ccc45d472d4da6536 | |
parent | cc1b0765da6078b906772b79ff211b88cc0ae958 [diff] |
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 <khilman@ti.com> Cc: stable@vger.kernel.org Signed-off-by: Tony Lindgren <tony@atomide.com>