regulator: ab8500-ext: Remove *rdev from struct ab8500_ext_regulator_info
authorAxel Lin <axel.lin@ingics.com>
Fri, 12 Apr 2019 14:06:57 +0000 (22:06 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Apr 2019 08:43:09 +0000 (09:43 +0100)
commit80a9c22a9da953146eacb5b8eb2b16691d4d9925
treea1577991ffc48bbe3aee2541f59df39a59bcb6b5
parent2564002abcde7e655bd0bab7f5f3a592ca586e58
regulator: ab8500-ext: Remove *rdev from struct ab8500_ext_regulator_info

Current code is using devm_regulator_register() so we don't need to save
*rdev 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-ext.c