regulator: bd718x7: Remove struct bd718xx_pmic
authorAxel Lin <axel.lin@ingics.com>
Thu, 4 Oct 2018 07:25:58 +0000 (15:25 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commita65f123c3d6d740bbfe21a75742973159675821e
treea789c30940ec00cf508612018c936a27bdb6ff0c
parent7e2018f01c721e798c07015db6b5d98cf194bd82
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>
(cherry picked from commit bcb047ebf28453da56f0265aeeb9edc52b797ea7)
drivers/regulator/bd718x7-regulator.c
include/linux/mfd/rohm-bd718x7.h