OMAP4: Move common twl6030 configuration to twl-common
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 7 Jun 2011 07:26:46 +0000 (10:26 +0300)
committerPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 4 Jul 2011 15:43:33 +0000 (18:43 +0300)
commitb22f954bae35be115a10c6426dc070f7d652b32e
tree2144bd55d658b284eb8d56d315d4177adf2f9186
parenta53b8e3b995f8b7c8a8c4ef5aa367958e46139b3
OMAP4: Move common twl6030 configuration to twl-common

Reduce the amount of duplicated code by moving the common
configuration for TWL6030 (on OMAP4 platform) to the
twl-common file.
Use the omap4_pmic_get_config function from board files to
properly configure the PMIC with the common fields.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-4430sdp.c
arch/arm/mach-omap2/board-omap4panda.c
arch/arm/mach-omap2/twl-common.c
arch/arm/mach-omap2/twl-common.h