]> asedeno.scripts.mit.edu Git - linux.git/commit
power: supply: isp1704: switch to gpiod API
authorSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 13 Dec 2018 01:38:58 +0000 (02:38 +0100)
committerSebastian Reichel <sre@kernel.org>
Sun, 20 Jan 2019 20:57:43 +0000 (21:57 +0100)
commitf5d782d46aa5d4dd369e6560ce5227136b58926f
tree8f6082cf64da34c29be5939f8112c50288654705
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
power: supply: isp1704: switch to gpiod API

This migrates isp1704 driver from old GPIO API to new descriptor
based GPIO API and drops useless platform data as a side-effect.

Migration is simple, since all mainline users are DT based and
DT API does not change. Out of tree users of the platform data
need to migrate to gpiod_lookup_table as described here:

Documentation/driver-api/gpio/board.rst

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/isp1704_charger.c
include/linux/power/isp1704_charger.h [deleted file]