regulator: isl6271a: Remove *rdev[3] from struct isl_pmic
authorAxel Lin <axel.lin@ingics.com>
Mon, 28 Jan 2019 14:19:20 +0000 (22:19 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 28 Jan 2019 15:29:03 +0000 (15:29 +0000)
commita6e58299e3dd83be71421248f268897b73666aa2
tree529efd6203343534eaf006f1c88348b0ec036dbe
parenta7567663bece82798e1c595999948524ac0d521a
regulator: isl6271a: Remove *rdev[3] from struct isl_pmic

This driver is using devm_regulator_register, so it's not necessary to
store *rdev[3] in struct isl_pmic. Use a local variable instead.

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