diff options
| author | Axel Lin <axel.lin@ingics.com> | 2018-10-04 03:25:58 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2018-10-19 08:22:45 -0400 |
| commit | bcb047ebf28453da56f0265aeeb9edc52b797ea7 (patch) | |
| tree | b92f6fc03d27df760a94a52367ba13c1a4b24ebf /include/linux/mfd | |
| parent | 63239e4bf7eff394d2bcba95999d6e3eae2be6a6 (diff) | |
regulator: bd718x7: Remove struct bd718xx_pmic
All the fields in struct bd718xx_pmic are not really necessary.
Remove struct bd718xx_pmic to simplify the code.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/rohm-bd718x7.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/rohm-bd718x7.h b/include/linux/mfd/rohm-bd718x7.h index 26acf9a92498..fd194bfc836f 100644 --- a/include/linux/mfd/rohm-bd718x7.h +++ b/include/linux/mfd/rohm-bd718x7.h | |||
| @@ -321,7 +321,6 @@ enum { | |||
| 321 | BD718XX_PWRBTN_LONG_PRESS_15S | 321 | BD718XX_PWRBTN_LONG_PRESS_15S |
| 322 | }; | 322 | }; |
| 323 | 323 | ||
| 324 | struct bd718xx_pmic; | ||
| 325 | struct bd718xx_clk; | 324 | struct bd718xx_clk; |
| 326 | 325 | ||
| 327 | struct bd718xx { | 326 | struct bd718xx { |
| @@ -333,7 +332,6 @@ struct bd718xx { | |||
| 333 | int chip_irq; | 332 | int chip_irq; |
| 334 | struct regmap_irq_chip_data *irq_data; | 333 | struct regmap_irq_chip_data *irq_data; |
| 335 | 334 | ||
| 336 | struct bd718xx_pmic *pmic; | ||
| 337 | struct bd718xx_clk *clk; | 335 | struct bd718xx_clk *clk; |
| 338 | }; | 336 | }; |
| 339 | 337 | ||
