]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3b94fc62a360a46163dfec868658729f5d9867d3
treeca2ee61e4d2d814215110617718d712d6f68d899
parentb3635b5e0d64d6ab8a20270acdb7a573fdc573e7
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