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>
This commit is contained in:
parent
63239e4bf7
commit
bcb047ebf2
2 changed files with 20 additions and 41 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue