OSDN Git Service

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)
commit7c6b8e3b9fe85af29b66478d585a0cffd6caa1df
tree039f3db13366e0e0f50e1238b2c20e3c09ec8a68
parent6d66d9952ec06f12197174018be76538150aea05
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