mfd: max77650: Remove useless type_invert flag
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>
Sat, 12 Nov 2022 15:18:23 +0000 (15:18 +0000)
committerLee Jones <lee@kernel.org>
Wed, 7 Dec 2022 13:28:14 +0000 (13:28 +0000)
The type_invert flag does nothing when type_in_mask is set, and
it's part of deprecated functionality in regmap-irq. Remove it.

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221112151835.39059-7-aidanmacdonald.0x0@gmail.com
drivers/mfd/max77650.c

index 777485a33bc0fc25c8a26b5786abf2fcf1c6ffb9..3c07fcdd9d076a29f94c39fe77c93459b25393e0 100644 (file)
@@ -138,7 +138,6 @@ static const struct regmap_irq_chip max77650_irq_chip = {
        .status_base            = MAX77650_REG_INT_GLBL,
        .mask_base              = MAX77650_REG_INTM_GLBL,
        .type_in_mask           = true,
-       .type_invert            = true,
        .init_ack_masked        = true,
        .clear_on_unmask        = true,
 };