mfd/omap1: htc-i2cpld: Convert to a pure GPIO driver
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Sep 2022 11:58:10 +0000 (13:58 +0200)
committerLee Jones <lee@kernel.org>
Wed, 28 Sep 2022 15:17:40 +0000 (16:17 +0100)
commita47137a5134be2f0b4724fe548362a253727d8b1
tree6bf9acaacf29b91d1ed36351cbf11f3b6f00780b
parent6a96f6c132f2a9bdd80bbe4cd8adee565f8af377
mfd/omap1: htc-i2cpld: Convert to a pure GPIO driver

Instead of passing GPIO numbers pertaining to ourselves through
platform data, just request GPIO descriptors from our own GPIO
chips and use them, and cut down on the unnecessary complexity.

Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Cory Maccarrone <darkstar6262@gmail.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220905115810.5987-1-linus.walleij@linaro.org
arch/arm/mach-omap1/board-htcherald.c
drivers/mfd/htc-i2cpld.c
include/linux/htcpld.h