regulator: palmas: Remove *rdev[PALMAS_NUM_REGS] from struct palmas_pmic
authorAxel Lin <axel.lin@ingics.com>
Sun, 10 Mar 2019 15:06:09 +0000 (23:06 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 Mar 2019 16:36:04 +0000 (16:36 +0000)
commit74b060d6845f09a5b2db6df653a3c0e90d4fa560
tree9adf20a19689f2bfb567d61684d36f4c6d67d84c
parent88f268a5bcc3b0683e6fbaf9973702e5329fc1e3
regulator: palmas: Remove *rdev[PALMAS_NUM_REGS] from struct palmas_pmic

This driver is using devm_regulator_register() so it is not necessary
to save *rdev for clean up. Actually the pmic->rdev[id] is not used now.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/palmas-regulator.c
include/linux/mfd/palmas.h