Skip to content

Commit 5de7cdd

Browse files
Aidan MacDonaldchanwoochoi
authored andcommitted
extcon: max77843: 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]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
1 parent eb70814 commit 5de7cdd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/extcon/extcon-max77843.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ static const struct regmap_irq max77843_muic_irq[] = {
189189
static const struct regmap_irq_chip max77843_muic_irq_chip = {
190190
.name = "max77843-muic",
191191
.status_base = MAX77843_MUIC_REG_INT1,
192-
.mask_base = MAX77843_MUIC_REG_INTMASK1,
193-
.mask_invert = true,
192+
.unmask_base = MAX77843_MUIC_REG_INTMASK1,
194193
.num_regs = 3,
195194
.irqs = max77843_muic_irq,
196195
.num_irqs = ARRAY_SIZE(max77843_muic_irq),

0 commit comments

Comments
 (0)