regulator: bd718x7: Remove struct bd718xx_pmic
authorAxel Lin <axel.lin@ingics.com>
Thu, 4 Oct 2018 07:25:58 +0000 (15:25 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 19 Oct 2018 12:22:45 +0000 (13:22 +0100)
commitbcb047ebf28453da56f0265aeeb9edc52b797ea7
treeb92f6fc03d27df760a94a52367ba13c1a4b24ebf
parent63239e4bf7eff394d2bcba95999d6e3eae2be6a6
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>
drivers/regulator/bd718x7-regulator.c
include/linux/mfd/rohm-bd718x7.h