]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf8721748c781531816594aebc3d23e4065771c34
tree5f4a37639a0c706cc80813ac64c10ce52a8a42d5
parent1b06b2c17bc4416368a6db8b61bc9a5e10e65759
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