]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: dbx500-prcmu: Remove unused fields from struct dbx500_regulator_info
authorAxel Lin <axel.lin@ingics.com>
Fri, 12 Apr 2019 01:54:21 +0000 (09:54 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 12 Apr 2019 08:51:10 +0000 (09:51 +0100)
commit808b8d79f22523157ed4d10bb31abc05c9335cf2
tree6fdc5249743f25ff08428a8d7ca437642af7bbda
parentad38c4686b2c01ffb05eefd8e981dbf0cd2364b5
regulator: dbx500-prcmu: Remove unused fields from struct dbx500_regulator_info

The *dev is assigned but not used, remove it.
Current driver is using devm_regulator_register(), so no neeed 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/db8500-prcmu.c
drivers/regulator/dbx500-prcmu.h