power: supply: z2_battery: Drop unused variable
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 5 Mar 2021 10:01:08 +0000 (11:01 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 14 Mar 2021 23:08:07 +0000 (00:08 +0100)
commit32826341058bf8d63456289a8bf48648ad17c897
treeb0806a6eac31d2408e448b8e96b7417f8fc17993
parentf38a1644832792ece8c63c9a5d9cd7122c62bf64
power: supply: z2_battery: Drop unused variable

The kernel test robot reports an unused variable in the
Z2 battery code caused by a recent commit.

Fixes: a3b4388ea19b ("power: supply: z2_battery: Convert to GPIO descriptors")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/z2_battery.c