]> 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)
commitb6439c7efb4a4dd0b3755c973b41202e2062ddc1
tree6bf9acaacf29b91d1ed36351cbf11f3b6f00780b
parent9fc7b17990ef3bff065895b8c39dd045066cc709
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