diff options
| author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-10-09 05:49:00 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-17 09:21:20 -0400 |
| commit | 8620ca9f77b71a0069a6151e859b988117ef1fa5 (patch) | |
| tree | 625d0a04fb027eaa2a3d46bca2a5561f6e690faf /include/linux/mfd | |
| parent | 24282a1ca33b4a2cdfb907fb7a3ba4d0f6e93311 (diff) | |
regulator: tps65090: rename driver name and regulator name
To make the names proper and more appropriate:
Rename the driver name from tps65090-regulator to tps65090-pmic.
Rename the regulators from TPS65090_ID_* to TPS65090_REGULATOR_*
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/tps65090.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/linux/mfd/tps65090.h b/include/linux/mfd/tps65090.h index d06c63335a2a..958bf155097c 100644 --- a/include/linux/mfd/tps65090.h +++ b/include/linux/mfd/tps65090.h | |||
| @@ -26,19 +26,19 @@ | |||
| 26 | 26 | ||
| 27 | /* TPS65090 Regulator ID */ | 27 | /* TPS65090 Regulator ID */ |
| 28 | enum { | 28 | enum { |
| 29 | TPS65090_ID_DCDC1, | 29 | TPS65090_REGULATOR_DCDC1, |
| 30 | TPS65090_ID_DCDC2, | 30 | TPS65090_REGULATOR_DCDC2, |
| 31 | TPS65090_ID_DCDC3, | 31 | TPS65090_REGULATOR_DCDC3, |
| 32 | TPS65090_ID_FET1, | 32 | TPS65090_REGULATOR_FET1, |
| 33 | TPS65090_ID_FET2, | 33 | TPS65090_REGULATOR_FET2, |
| 34 | TPS65090_ID_FET3, | 34 | TPS65090_REGULATOR_FET3, |
| 35 | TPS65090_ID_FET4, | 35 | TPS65090_REGULATOR_FET4, |
| 36 | TPS65090_ID_FET5, | 36 | TPS65090_REGULATOR_FET5, |
| 37 | TPS65090_ID_FET6, | 37 | TPS65090_REGULATOR_FET6, |
| 38 | TPS65090_ID_FET7, | 38 | TPS65090_REGULATOR_FET7, |
| 39 | 39 | ||
| 40 | /* Last entry for maximum ID */ | 40 | /* Last entry for maximum ID */ |
| 41 | TPS65090_ID_MAX, | 41 | TPS65090_REGULATOR_MAX, |
| 42 | }; | 42 | }; |
| 43 | 43 | ||
| 44 | struct tps65090 { | 44 | struct tps65090 { |
| @@ -72,7 +72,7 @@ struct tps65090_platform_data { | |||
| 72 | int irq_base; | 72 | int irq_base; |
| 73 | int num_subdevs; | 73 | int num_subdevs; |
| 74 | struct tps65090_subdev_info *subdevs; | 74 | struct tps65090_subdev_info *subdevs; |
| 75 | struct tps65090_regulator_plat_data *reg_pdata[TPS65090_ID_MAX]; | 75 | struct tps65090_regulator_plat_data *reg_pdata[TPS65090_REGULATOR_MAX]; |
| 76 | }; | 76 | }; |
| 77 | 77 | ||
| 78 | /* | 78 | /* |
