mfd: rohm-bd718x7: Drop useless mask_invert flag on irqchip
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>
Sat, 12 Nov 2022 15:18:28 +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>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221112151835.39059-12-aidanmacdonald.0x0@gmail.com
drivers/mfd/rohm-bd718x7.c

index 3c766cb..b55674d 100644 (file)
@@ -70,7 +70,6 @@ static struct regmap_irq_chip bd718xx_irq_chip = {
        .mask_base = BD718XX_REG_MIRQ,
        .ack_base = BD718XX_REG_IRQ,
        .init_ack_masked = true,
-       .mask_invert = false,
 };
 
 static const struct regmap_range pmic_status_range = {