Skip to content

Commit 50ff095

Browse files
Aidan MacDonaldlag-linaro
authored andcommitted
mfd: tps65090: Replace irqchip mask_invert with unmask_base
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]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 8d9ad03 commit 50ff095

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/mfd/tps65090.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ static struct regmap_irq_chip tps65090_irq_chip = {
127127
.num_irqs = ARRAY_SIZE(tps65090_irqs),
128128
.num_regs = NUM_INT_REG,
129129
.status_base = TPS65090_REG_INTR_STS,
130-
.mask_base = TPS65090_REG_INTR_MASK,
131-
.mask_invert = true,
130+
.unmask_base = TPS65090_REG_INTR_MASK,
132131
};
133132

134133
static bool is_volatile_reg(struct device *dev, unsigned int reg)

0 commit comments

Comments
 (0)