ARM: tegra: ardbeg: rename productized power monitor
Pritesh Raithatha [Thu, 12 Dec 2013 14:30:33 +0000 (19:30 +0530)]
rename productized power monitor as it is having
duplicate names.

Change-Id: I6ceb1be7bf8495ec70a187135e549479a338fc90
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/345337
Reviewed-by: Simo Melenius <smelenius@nvidia.com>
Tested-by: Simo Melenius <smelenius@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Timo Alho <talho@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

arch/arm/mach-tegra/board-ardbeg-powermon.c

index 61269c3..82e6f4b 100644 (file)
@@ -102,7 +102,7 @@ static struct ina230_platform_data power_mon_info_0[] = {
        [VDD_BAT_0] = {
                .calibration_data = 0x1366,
                .power_lsb = 2.577527185 * PRECISION_MULTIPLIER_ARDBEG,
-               .rail_name = "VDD_BAT",
+               .rail_name = "__VDD_BAT",
                .trig_conf = INA230_TRIG_CONFIG,
                .cont_conf = INA230_CONT_CONFIG,
                .divisor = 25,
@@ -112,7 +112,7 @@ static struct ina230_platform_data power_mon_info_0[] = {
        [VDD_SYS_BUCKCPU_0] = {
                .calibration_data = 0x1AC5,
                .power_lsb = 1.867795126 * PRECISION_MULTIPLIER_ARDBEG,
-               .rail_name = "VDD_SYS_BUCKCPU",
+               .rail_name = "__VDD_SYS_BUCKCPU",
                .trig_conf = INA230_TRIG_CONFIG,
                .cont_conf = INA230_CONT_CONFIG,
                .divisor = 25,
@@ -122,7 +122,7 @@ static struct ina230_platform_data power_mon_info_0[] = {
        [VDD_SYS_BUCKSOC_0] = {
                .calibration_data = 0x2802,
                .power_lsb = 0.624877954 * PRECISION_MULTIPLIER_ARDBEG,
-               .rail_name = "VDD_SYS_BUCKSOC",
+               .rail_name = "__VDD_SYS_BUCKSOC",
                .trig_conf = INA230_TRIG_CONFIG,
                .cont_conf = INA230_CONT_CONFIG,
                .divisor = 25,
@@ -132,7 +132,7 @@ static struct ina230_platform_data power_mon_info_0[] = {
        [VDD_SYS_BUCKGPU_0] = {
                .calibration_data = 0x1F38,
                .power_lsb = 1.601601602 * PRECISION_MULTIPLIER_ARDBEG,
-               .rail_name = "VDD_SYS_BUCKGPU",
+               .rail_name = "__VDD_SYS_BUCKGPU",
                .trig_conf = INA230_TRIG_CONFIG,
                .cont_conf = INA230_CONT_CONFIG,
                .divisor = 25,