forked from Minki/linux
extcon: sm5502: Drop useless mask_invert flag on irqchip
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>
This commit is contained in:
parent
97e1bb93e7
commit
d4f46c0e52
@ -227,7 +227,6 @@ static const struct regmap_irq_chip sm5502_muic_irq_chip = {
|
|||||||
.name = "sm5502",
|
.name = "sm5502",
|
||||||
.status_base = SM5502_REG_INT1,
|
.status_base = SM5502_REG_INT1,
|
||||||
.mask_base = SM5502_REG_INTMASK1,
|
.mask_base = SM5502_REG_INTMASK1,
|
||||||
.mask_invert = false,
|
|
||||||
.num_regs = 2,
|
.num_regs = 2,
|
||||||
.irqs = sm5502_irqs,
|
.irqs = sm5502_irqs,
|
||||||
.num_irqs = ARRAY_SIZE(sm5502_irqs),
|
.num_irqs = ARRAY_SIZE(sm5502_irqs),
|
||||||
@ -276,7 +275,6 @@ static const struct regmap_irq_chip sm5504_muic_irq_chip = {
|
|||||||
.name = "sm5504",
|
.name = "sm5504",
|
||||||
.status_base = SM5502_REG_INT1,
|
.status_base = SM5502_REG_INT1,
|
||||||
.mask_base = SM5502_REG_INTMASK1,
|
.mask_base = SM5502_REG_INTMASK1,
|
||||||
.mask_invert = false,
|
|
||||||
.num_regs = 2,
|
.num_regs = 2,
|
||||||
.irqs = sm5504_irqs,
|
.irqs = sm5504_irqs,
|
||||||
.num_irqs = ARRAY_SIZE(sm5504_irqs),
|
.num_irqs = ARRAY_SIZE(sm5504_irqs),
|
||||||
|
Loading…
Reference in New Issue
Block a user