ARM: shmobile: kzm9g: correct smsc regulator registration
authorSimon Horman <horms+renesas@verge.net.au>
Fri, 15 Feb 2013 13:48:36 +0000 (22:48 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Mar 2013 12:27:03 +0000 (21:27 +0900)
Correct the name of smsc devices used for regulator registration
allowing the regulators to be found and used.

This eliminates the need for CONFIG_REGULATOR_DUMMY
when CONFIG_REGULATOR is set.

Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-kzm9g.c

index c1c0401ff6a46fd4ec25dfbcf29fa0e68a148d6f..d2ace3a9f603969494d027f001d982f4e98da467 100644 (file)
@@ -63,8 +63,8 @@
 
 /* Dummy supplies, where voltage doesn't matter */
 static struct regulator_consumer_supply dummy_supplies[] = {
-       REGULATOR_SUPPLY("vddvario", "smsc911x"),
-       REGULATOR_SUPPLY("vdd33a", "smsc911x"),
+       REGULATOR_SUPPLY("vddvario", "smsc911x.0"),
+       REGULATOR_SUPPLY("vdd33a", "smsc911x.0"),
 };
 
 /*