diff options
author | Jean Pihet <j-pihet@ti.com> | 2012-04-24 07:11:27 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-06-01 01:03:44 +0200 |
commit | 8b765d727d711650ab3521411fd48a0d8f62a84c (patch) | |
tree | e20803fa5d17ad670a016db4ae7a7d5146de9944 /arch/arm/mach-omap2/smartreflex-class3.c | |
parent | ARM: OMAP3+: SmartReflex: class drivers should use struct omap_sr * (diff) | |
download | linux-8b765d727d711650ab3521411fd48a0d8f62a84c.tar.xz linux-8b765d727d711650ab3521411fd48a0d8f62a84c.zip |
ARM: OMAP2+: smartreflex: Use the names from hwmod data instead of voltage domains.
Associate a name with each SmartReflex instance from the hwmod data,
rather than attempting to reuse the name of a voltage domain. The name
from hwmod better reflects the smartreflex integration in the system.
Also have the name passed to the drivers using pdata, which helps to remove
any dependencies on SoC-specific structures.
Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/smartreflex-class3.c')
-rw-r--r-- | arch/arm/mach-omap2/smartreflex-class3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/smartreflex-class3.c b/arch/arm/mach-omap2/smartreflex-class3.c index 9381654e869b..1da8f03c479e 100644 --- a/arch/arm/mach-omap2/smartreflex-class3.c +++ b/arch/arm/mach-omap2/smartreflex-class3.c @@ -19,8 +19,8 @@ static int sr_class3_enable(struct omap_sr *sr) unsigned long volt = voltdm_get_voltage(sr->voltdm); if (!volt) { - pr_warning("%s: Curr voltage unknown. Cannot enable sr_%s\n", - __func__, sr->voltdm->name); + pr_warning("%s: Curr voltage unknown. Cannot enable %s\n", + __func__, sr->name); return -ENODATA; } |