]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite66a7022256b7c6719bf285bcfe15f1a2ba1a248
tree529efd6203343534eaf006f1c88348b0ec036dbe
parent1e811bd4e0dacbadc7fa41215182b571ff5c69a6
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