Commit b5b9945b authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Tony Lindgren
Browse files

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 with #if defined()
Signed-off-by: default avatarJarkko Nikula <>
Acked-by: default avatarTomi Valkeinen <>
Signed-off-by: default avatarTony Lindgren <>
parent 5b59cc2f
......@@ -359,17 +359,8 @@ static struct regulator_consumer_supply rx51_vio_supplies[] = {
#if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE)
extern struct platform_device rx51_display_device;
static struct regulator_consumer_supply rx51_vaux1_consumers[] = {
#if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE)
.supply = "vdds_sdi",
.dev = &,
REGULATOR_SUPPLY("vdds_sdi", "omapdss"),
static struct regulator_init_data rx51_vaux1 = {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment