diff options
author | 2023-05-01 11:05:21 +0200 | |
---|---|---|
committer | 2023-05-24 15:01:55 +0200 | |
commit | d5f4fa60d63aa54ae33339895b88d8932b6037ed (patch) | |
tree | 2212145423b10cbaf8a326e25bb8f1ae43b96aa7 /arch/arm/mach-omap2/omap_device.c | |
parent | ARM: omap1: Exorcise the legacy GPIO header (diff) | |
download | wireguard-linux-d5f4fa60d63aa54ae33339895b88d8932b6037ed.tar.xz wireguard-linux-d5f4fa60d63aa54ae33339895b88d8932b6037ed.zip |
ARM/gpio: Push OMAP2 quirk down into TWL4030 driver
The TWL4030 GPIO driver has a custom platform data .set_up()
callback to call back into the platform and do misc stuff such
as hog and export a GPIO for WLAN PWR on a specific OMAP3 board.
Avoid all the kludgery in the platform data and the boardfile
and just put the quirks right into the driver. Make it
conditional on OMAP3.
I think the exported GPIO is used by some kind of userspace
so ordinary DTS hogs will probably not work.
Fixes: 92bf78b33b0b ("gpio: omap: use dynamic allocation of base")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-omap2/omap_device.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_device.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c index 4afa2f08e668..fca7869c8075 100644 --- a/arch/arm/mach-omap2/omap_device.c +++ b/arch/arm/mach-omap2/omap_device.c @@ -244,7 +244,6 @@ static int _omap_device_notifier_call(struct notifier_block *nb, case BUS_NOTIFY_ADD_DEVICE: if (pdev->dev.of_node) omap_device_build_from_dt(pdev); - omap_auxdata_legacy_init(dev); fallthrough; default: od = to_omap_device(pdev); |