regulator: tps6524x: Remove *rdev[N_REGULATORS] from struct tps6524x
authorAxel Lin <axel.lin@ingics.com>
Sat, 13 Apr 2019 07:30:02 +0000 (15:30 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Apr 2019 08:44:41 +0000 (09:44 +0100)
commit7a8b0e66df5ad04d0acf31d43b37be46504b9fbc
treeca2ee61e4d2d814215110617718d712d6f68d899
parent357db0279a230e009d4440db71c497f3360311bc
regulator: tps6524x: Remove *rdev[N_REGULATORS] from struct tps6524x

Current code is using devm_regulator_register() so we don't need to store
*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/tps6524x-regulator.c