]> Git Repo - linux.git/commitdiff
extcon: max77843: Replace irqchip mask_invert with unmask_base
authorAidan MacDonald <[email protected]>
Sat, 12 Nov 2022 15:24:46 +0000 (15:24 +0000)
committerChanwoo Choi <[email protected]>
Sat, 3 Dec 2022 06:03:39 +0000 (15:03 +0900)
Remove use of the deprecated mask_invert flag. Inverted mask
registers (where a '1' bit enables an IRQ) can be described more
directly as an unmask register.

Signed-off-by: Aidan MacDonald <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
drivers/extcon/extcon-max77843.c

index 8e6e97ec65a8a3e7e6673c9c4c84322ff9a5023e..1bc0426ce3f1e0959521f5bf21338a38480e3078 100644 (file)
@@ -189,8 +189,7 @@ static const struct regmap_irq max77843_muic_irq[] = {
 static const struct regmap_irq_chip max77843_muic_irq_chip = {
        .name           = "max77843-muic",
        .status_base    = MAX77843_MUIC_REG_INT1,
-       .mask_base      = MAX77843_MUIC_REG_INTMASK1,
-       .mask_invert    = true,
+       .unmask_base    = MAX77843_MUIC_REG_INTMASK1,
        .num_regs       = 3,
        .irqs           = max77843_muic_irq,
        .num_irqs       = ARRAY_SIZE(max77843_muic_irq),
This page took 0.057424 seconds and 4 git commands to generate.