]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6eee1b1c24f39cf5417bf5e7bcb855e0652d2156
tree6bf9acaacf29b91d1ed36351cbf11f3b6f00780b
parentd7ab3ff1c9a13b4fb73bea2d4dbc45a3062d69a8
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