power: supply: generic-adc-battery: Use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 30 Oct 2020 12:24:24 +0000 (13:24 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 30 Nov 2020 01:42:42 +0000 (02:42 +0100)
commitb0327ffb133fb2148fc3bc2afb39af2871ab21cb
tree6c577cfaf37fcd59714011cefaba56bb09cf42af
parentba940ed83218f034f728184439c7e87795237752
power: supply: generic-adc-battery: Use GPIO descriptors

This driver uses platform data to pass GPIO lines using the
deprecated global GPIO numbers. There are no in-tree users
of this platform data.

Any out-of-tree or coming users of this driver can easily be
migrated to use machine descriptor tables as described in
Documentation/driver-api/gpio/board.rst
section "platform data".

Cc: Anish Kumar <anish198519851985@gmail.com>
Cc: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/generic-adc-battery.c
include/linux/power/generic-adc-battery.h