mfd: ab8500: Rename ab8500 to abx500 for hwmon driver
authorHongbo Zhang <hongbo.zhang@linaro.org>
Wed, 30 Jan 2013 10:21:27 +0000 (18:21 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 13 Feb 2013 23:22:58 +0000 (00:22 +0100)
We are using a generic abx500 hwmon layer, so rename specific ab8500 to generic
abx500 for hwmon device and driver matching.

Signed-off-by: Hongbo Zhang <hongbo.zhang@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-core.c

index 4778bb124efe09b27da77446896dfd6ae9e97f0e..cdcaa5b78c4d7140f0a9427cc0f21e22116a4ec6 100644 (file)
@@ -923,7 +923,7 @@ static struct resource ab8505_iddet_resources[] = {
 
 static struct resource ab8500_temp_resources[] = {
        {
-               .name  = "AB8500_TEMP_WARM",
+               .name  = "ABX500_TEMP_WARM",
                .start = AB8500_INT_TEMP_WARM,
                .end   = AB8500_INT_TEMP_WARM,
                .flags = IORESOURCE_IRQ,
@@ -999,8 +999,8 @@ static struct mfd_cell abx500_common_devs[] = {
                .of_compatible = "stericsson,ab8500-denc",
        },
        {
-               .name = "ab8500-temp",
-               .of_compatible = "stericsson,ab8500-temp",
+               .name = "abx500-temp",
+               .of_compatible = "stericsson,abx500-temp",
                .num_resources = ARRAY_SIZE(ab8500_temp_resources),
                .resources = ab8500_temp_resources,
        },