omap: rx51: Cleanup vdds_sdi supply construction
authorJarkko Nikula <jhnikula@gmail.com>
Tue, 21 Dec 2010 17:25:34 +0000 (17:25 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 22 Dec 2010 19:06:24 +0000 (11:06 -0800)
commitb5b9945b2b139ca922b49062053f34486ca64cca
tree7e199dae035d323fc8da4a4ccd8e6b2c41c85882
parent5b59cc2fc2ff90369d6aa7862caaba3cf45b5075
omap: rx51: Cleanup vdds_sdi supply construction

It is much more cleaner to use REGULATOR_SUPPLY macro and a device name
instead of having a reference to rx51_display_device.dev with #if defined()
guards.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-rx51-peripherals.c