regulator: hi655x: Removed unused ctrl_regs field from struct hi655x_regulator
authorAxel Lin <axel.lin@ingics.com>
Sun, 13 Jan 2019 14:17:46 +0000 (22:17 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Jan 2019 11:44:09 +0000 (11:44 +0000)
The ctrl_regs field is not used at all, remove it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/hi655x-regulator.c

index 36ae54b53814b36859b149993a198be1c269bf64..bba24a6fdb1e11ce7a090947d0bf53428ba69b7c 100644 (file)
@@ -28,7 +28,6 @@
 struct hi655x_regulator {
        unsigned int disable_reg;
        unsigned int status_reg;
-       unsigned int ctrl_regs;
        unsigned int ctrl_mask;
        struct regulator_desc rdesc;
 };