regulator: tps65090: rename regulator enums
Laxman Dewangan [Thu, 2 Aug 2012 13:18:07 +0000 (18:18 +0530)]
Renaming regulator enums from TPS65090_ID_* to
TPS65090_REGULATOR_* for better readability.

Change-Id: I402de2069045b97000686e8010897c4a0821a48d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/120835
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

drivers/regulator/tps65090-regulator.c
include/linux/regulator/tps65090-regulator.h

index 7dc4e1c..577fbf8 100644 (file)
@@ -98,10 +98,10 @@ static struct regulator_ops tps65090_ops = {
 {                                                      \
        .reg_en_reg     = _en_reg,                      \
        .en_bit         = _en_bit,                      \
-       .id             = TPS65090_ID_##_id,            \
+       .id             = TPS65090_REGULATOR_##_id,     \
        .desc = {                                       \
                .name = tps65090_rails(_id),            \
-               .id = TPS65090_ID_##_id,                \
+               .id = TPS65090_REGULATOR_##_id,         \
                .ops = &_ops,                           \
                .type = REGULATOR_VOLTAGE,              \
                .owner = THIS_MODULE,                   \
index 0fa04b6..5e27d4a 100644 (file)
 #define tps65090_rails(_name) "tps65090_"#_name
 
 enum {
-       TPS65090_ID_DCDC1,
-       TPS65090_ID_DCDC2,
-       TPS65090_ID_DCDC3,
-       TPS65090_ID_FET1,
-       TPS65090_ID_FET2,
-       TPS65090_ID_FET3,
-       TPS65090_ID_FET4,
-       TPS65090_ID_FET5,
-       TPS65090_ID_FET6,
-       TPS65090_ID_FET7,
+       TPS65090_REGULATOR_DCDC1,
+       TPS65090_REGULATOR_DCDC2,
+       TPS65090_REGULATOR_DCDC3,
+       TPS65090_REGULATOR_FET1,
+       TPS65090_REGULATOR_FET2,
+       TPS65090_REGULATOR_FET3,
+       TPS65090_REGULATOR_FET4,
+       TPS65090_REGULATOR_FET5,
+       TPS65090_REGULATOR_FET6,
+       TPS65090_REGULATOR_FET7,
 };
 
 /*