omap: rx51: Use REGULATOR_SUPPLY macro when initializingregulator consumers
authorJarkko Nikula <jhnikula@gmail.com>
Tue, 6 Jul 2010 14:05:33 +0000 (17:05 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 6 Jul 2010 14:05:33 +0000 (17:05 +0300)
commit91400049d359cf0a20edd15d7ebc78319ceb1cf1
tree019e0296ed66696354e4e35c6f07488ef1a3f40a
parentfdb7282cf18a15896942bfc59e2ec444d1db25a1
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