omap3sdp: clean regulator supply mapping in board file
authorRajendra Nayak <rnayak@ti.com>
Thu, 3 Feb 2011 12:45:22 +0000 (12:45 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 22 Feb 2011 16:36:44 +0000 (08:36 -0800)
commit73a92aa4f1d6786eaa5b4e637eee648db0dfd7a7
tree7043a0510f5bdbbbc238b0c38fd652c9a036a745
parent4b087ff8572c7e7095787ca14aa72e39c80859bd
omap3sdp: clean regulator supply mapping in board file

clean the regulator supply mapping data in the 3430sdp
board file (which is spread all over) by moving all
of them together.
Also use the REGULATOR_SUPPLY macro and remove instances
of mapping dev pointers at run time.
Additonally define all regulator_consumer_supply as
array's and use ARRAY_SIZE macro to define
num_consumer_supplies.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-3430sdp.c