mfd: max77843: Drop useless mask_invert flag on irqchip
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>
Sat, 12 Nov 2022 15:18:25 +0000 (15:18 +0000)
committerLee Jones <lee@kernel.org>
Wed, 7 Dec 2022 13:28:14 +0000 (13:28 +0000)
Setting mask_invert to false is pointless because that's the
default. The flag is also deprecated, so drop it.

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221112151835.39059-9-aidanmacdonald.0x0@gmail.com
drivers/mfd/max77843.c

index c6fd93e..8ff0723 100644 (file)
@@ -59,7 +59,6 @@ static const struct regmap_irq_chip max77843_irq_chip = {
        .name           = "max77843",
        .status_base    = MAX77843_SYS_REG_SYSINTSRC,
        .mask_base      = MAX77843_SYS_REG_SYSINTMASK,
-       .mask_invert    = false,
        .num_regs       = 1,
        .irqs           = max77843_irqs,
        .num_irqs       = ARRAY_SIZE(max77843_irqs),