OSDN Git Service

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)
commit2564002abcde7e655bd0bab7f5f3a592ca586e58
tree6fdc5249743f25ff08428a8d7ca437642af7bbda
parent92722a8fac5349fa2f249dcb366c6083d193922f
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