]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: ab8500: Remove *regulator from struct ab8500_regulator_info
authorAxel Lin <axel.lin@ingics.com>
Fri, 12 Apr 2019 14:11:58 +0000 (22:11 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Apr 2019 08:43:58 +0000 (09:43 +0100)
commite658b36b3c9d00206f2c1392250dd3feb92ba2ac
tree039f3db13366e0e0f50e1238b2c20e3c09ec8a68
parentfc88a3a4ed8e65850ef3730b8671d56e0a58aa89
regulator: ab8500: Remove *regulator from struct ab8500_regulator_info

Current code is using devm_regulator_register() so we don't need to save
*regulator for clean up, use a local variable instead.

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