]> git.baikalelectronics.ru Git - kernel.git/commitdiff
extcon: rt8973a: Drop useless mask_invert flag on irqchip
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>
Mon, 20 Jun 2022 20:06:32 +0000 (21:06 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 15 Jul 2022 02:37:41 +0000 (11:37 +0900)
There's no need to set the flag explicitly to false, since that
is the default value from zero initialization.

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-rt8973a.c

index 40c07f4d656ed39c96b197ba37d6540f4b356e16..02ba770acb2791ac76acb72a0a0e44e16401db5b 100644 (file)
@@ -192,7 +192,6 @@ static const struct regmap_irq_chip rt8973a_muic_irq_chip = {
        .name                   = "rt8973a",
        .status_base            = RT8973A_REG_INT1,
        .mask_base              = RT8973A_REG_INTM1,
-       .mask_invert            = false,
        .num_regs               = 2,
        .irqs                   = rt8973a_irqs,
        .num_irqs               = ARRAY_SIZE(rt8973a_irqs),