omap: rx51: Use REGULATOR_SUPPLY macro when initializingregulator consumers
authorJarkko Nikula <jhnikula@gmail.com>
Mon, 2 Aug 2010 10:18:02 +0000 (13:18 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Aug 2010 10:18:02 +0000 (13:18 +0300)
commit5c7d9bbec6415a00860e4ee482a794c940ba8733
tree5f4a37639a0c706cc80813ac64c10ce52a8a42d5
parent87581fd4a9c038dc18684b9336f2c59eee1710cc
omap: rx51: Use REGULATOR_SUPPLY macro when initializingregulator consumers

There is REGULATOR_SUPPLY macro available for initializing the struct
regulator_consumer_supply so use it where applicable (all other supplies
than vdds_sdi) as it improves the readability.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Eduardo Valentin <eduardo.valentin@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-rx51-peripherals.c