mfd: qcom-pm8008: Convert irq chip to config regs
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>
Thu, 16 Feb 2023 22:22:12 +0000 (22:22 +0000)
committerLee Jones <lee@kernel.org>
Wed, 26 Apr 2023 10:40:28 +0000 (11:40 +0100)
commitfd0a2afa5ab2fb3ba5646e3bf907f2c4a8b4a291
treeed3b2a0aababb924441011c52be489af8ac58c95
parent172a293707a55ba62e55a386eb601c8ef4824c85
mfd: qcom-pm8008: Convert irq chip to config regs

Replace type and virtual registers, which are both deprecated,
with config registers. This also simplifies the driver because
IRQ types are set in one place, the set_type_config() callback.

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
[Lee: Squashed in fix-up patch from Stephen Rothwell adapting to new .set_type_config() API]
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230216222214.138671-3-aidanmacdonald.0x0@gmail.com
drivers/mfd/qcom-pm8008.c