diff options
Diffstat (limited to 'drivers/power/regulator')
-rw-r--r-- | drivers/power/regulator/fixed.c | 2 | ||||
-rw-r--r-- | drivers/power/regulator/lp873x_regulator.c | 2 | ||||
-rw-r--r-- | drivers/power/regulator/lp87565_regulator.c | 2 | ||||
-rw-r--r-- | drivers/power/regulator/max77686.c | 2 | ||||
-rw-r--r-- | drivers/power/regulator/palmas_regulator.c | 2 | ||||
-rw-r--r-- | drivers/power/regulator/pbias_regulator.c | 2 | ||||
-rw-r--r-- | drivers/power/regulator/regulator-uclass.c | 2 | ||||
-rw-r--r-- | drivers/power/regulator/s2mps11_regulator.c | 2 | ||||
-rw-r--r-- | drivers/power/regulator/s5m8767.c | 2 | ||||
-rw-r--r-- | drivers/power/regulator/sandbox.c | 2 |
10 files changed, 0 insertions, 20 deletions
diff --git a/drivers/power/regulator/fixed.c b/drivers/power/regulator/fixed.c index 97b4a98bf0..eec1914c1d 100644 --- a/drivers/power/regulator/fixed.c +++ b/drivers/power/regulator/fixed.c @@ -14,8 +14,6 @@ #include <power/pmic.h> #include <power/regulator.h> -DECLARE_GLOBAL_DATA_PTR; - struct fixed_regulator_platdata { struct gpio_desc gpio; /* GPIO for regulator enable control */ unsigned int startup_delay_us; diff --git a/drivers/power/regulator/lp873x_regulator.c b/drivers/power/regulator/lp873x_regulator.c index 11371a7b8b..ba2dbd71d1 100644 --- a/drivers/power/regulator/lp873x_regulator.c +++ b/drivers/power/regulator/lp873x_regulator.c @@ -16,8 +16,6 @@ #include <power/regulator.h> #include <power/lp873x.h> -DECLARE_GLOBAL_DATA_PTR; - static const char lp873x_buck_ctrl[LP873X_BUCK_NUM] = {0x2, 0x4}; static const char lp873x_buck_volt[LP873X_BUCK_NUM] = {0x6, 0x7}; static const char lp873x_ldo_ctrl[LP873X_LDO_NUM] = {0x8, 0x9}; diff --git a/drivers/power/regulator/lp87565_regulator.c b/drivers/power/regulator/lp87565_regulator.c index d908f6d1fb..94f09f5994 100644 --- a/drivers/power/regulator/lp87565_regulator.c +++ b/drivers/power/regulator/lp87565_regulator.c @@ -16,8 +16,6 @@ #include <power/regulator.h> #include <power/lp87565.h> -DECLARE_GLOBAL_DATA_PTR; - static const char lp87565_buck_ctrl1[LP87565_BUCK_NUM] = {0x2, 0x4, 0x6, 0x8, 0x2, 0x6}; static const char lp87565_buck_vout[LP87565_BUCK_NUM] = {0xA, 0xC, 0xE, 0x10, 0xA, 0xE }; diff --git a/drivers/power/regulator/max77686.c b/drivers/power/regulator/max77686.c index 2212d36ed6..6e4ac02036 100644 --- a/drivers/power/regulator/max77686.c +++ b/drivers/power/regulator/max77686.c @@ -16,8 +16,6 @@ #include <power/regulator.h> #include <power/max77686_pmic.h> -DECLARE_GLOBAL_DATA_PTR; - #define MODE(_id, _val, _name) { \ .id = _id, \ .register_value = _val, \ diff --git a/drivers/power/regulator/palmas_regulator.c b/drivers/power/regulator/palmas_regulator.c index 24a7977236..45c006c5b7 100644 --- a/drivers/power/regulator/palmas_regulator.c +++ b/drivers/power/regulator/palmas_regulator.c @@ -16,8 +16,6 @@ #include <power/regulator.h> #include <power/palmas.h> -DECLARE_GLOBAL_DATA_PTR; - #define REGULATOR_ON 0x1 #define REGULATOR_OFF 0x0 diff --git a/drivers/power/regulator/pbias_regulator.c b/drivers/power/regulator/pbias_regulator.c index adf589b224..1e042ad712 100644 --- a/drivers/power/regulator/pbias_regulator.c +++ b/drivers/power/regulator/pbias_regulator.c @@ -16,8 +16,6 @@ #include <linux/ioport.h> #include <dm/read.h> -DECLARE_GLOBAL_DATA_PTR; - struct pbias_reg_info { u32 enable; u32 enable_mask; diff --git a/drivers/power/regulator/regulator-uclass.c b/drivers/power/regulator/regulator-uclass.c index 426a933d66..b9e2d20e32 100644 --- a/drivers/power/regulator/regulator-uclass.c +++ b/drivers/power/regulator/regulator-uclass.c @@ -12,8 +12,6 @@ #include <power/pmic.h> #include <power/regulator.h> -DECLARE_GLOBAL_DATA_PTR; - int regulator_mode(struct udevice *dev, struct dm_regulator_mode **modep) { struct dm_regulator_uclass_platdata *uc_pdata; diff --git a/drivers/power/regulator/s2mps11_regulator.c b/drivers/power/regulator/s2mps11_regulator.c index 3af20e60dd..477f0f6225 100644 --- a/drivers/power/regulator/s2mps11_regulator.c +++ b/drivers/power/regulator/s2mps11_regulator.c @@ -14,8 +14,6 @@ #include <power/regulator.h> #include <power/s2mps11.h> -DECLARE_GLOBAL_DATA_PTR; - #define MODE(_id, _val, _name) { \ .id = _id, \ .register_value = _val, \ diff --git a/drivers/power/regulator/s5m8767.c b/drivers/power/regulator/s5m8767.c index 871da122b4..89ad587610 100644 --- a/drivers/power/regulator/s5m8767.c +++ b/drivers/power/regulator/s5m8767.c @@ -13,8 +13,6 @@ #include <power/regulator.h> #include <power/s5m8767.h> -DECLARE_GLOBAL_DATA_PTR; - static const struct sec_voltage_desc buck_v1 = { .max = 2225000, .min = 650000, diff --git a/drivers/power/regulator/sandbox.c b/drivers/power/regulator/sandbox.c index f980a17389..ab30c50fcc 100644 --- a/drivers/power/regulator/sandbox.c +++ b/drivers/power/regulator/sandbox.c @@ -14,8 +14,6 @@ #include <power/regulator.h> #include <power/sandbox_pmic.h> -DECLARE_GLOBAL_DATA_PTR; - #define MODE(_id, _val, _name) [_id] = { \ .id = _id, \ .register_value = _val, \ |