summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2018-10-04 15:25:58 +0800
committerMark Brown <broonie@kernel.org>2018-10-19 13:22:45 +0100
commitbcb047ebf28453da56f0265aeeb9edc52b797ea7 (patch)
treeb92f6fc03d27df760a94a52367ba13c1a4b24ebf /include
parent63239e4bf7eff394d2bcba95999d6e3eae2be6a6 (diff)
downloadlinux-bcb047ebf28453da56f0265aeeb9edc52b797ea7.tar.gz
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')
-rw-r--r--include/linux/mfd/rohm-bd718x7.h2
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 {
 	BD718XX_PWRBTN_LONG_PRESS_15S
 };
 
-struct bd718xx_pmic;
 struct bd718xx_clk;
 
 struct bd718xx {
@@ -333,7 +332,6 @@ struct bd718xx {
 	int chip_irq;
 	struct regmap_irq_chip_data *irq_data;
 
-	struct bd718xx_pmic *pmic;
 	struct bd718xx_clk *clk;
 };