mfd: arizona: Make legacy gpiolib interface optional
authorArnd Bergmann <arnd@arndb.de>
Fri, 8 Aug 2025 15:17:56 +0000 (17:17 +0200)
committerLee Jones <lee@kernel.org>
Wed, 1 Oct 2025 09:28:24 +0000 (10:28 +0100)
commit9c5ad8374b1fe0c8c9eaabc1146d96a543858c4a
tree0cd5c617701694328622f3685180f08d7a08dad4
parenta5b03d81c23ef2aae8a88dc9da009a56b4bbb8f6
mfd: arizona: Make legacy gpiolib interface optional

The only machine that still uses the old gpio number based interface
is the wlf_cragg_6410 board file. In order to remove the dependency
on the interfaces, add #ifdef blocks here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250808151822.536879-13-arnd@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/arizona-irq.c
include/linux/mfd/arizona/pdata.h
sound/soc/codecs/arizona-jack.c