summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>2022-06-20 22:06:32 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2022-07-15 04:37:41 +0200
commit6d7151343520c9578a5bc087f01e63524f79c81a (patch)
tree69744709d579c0c8cdf549decd9a4dc770c00133
parentextcon: sm5502: Drop useless mask_invert flag on irqchip (diff)
downloadlinux-6d7151343520c9578a5bc087f01e63524f79c81a.tar.xz
linux-6d7151343520c9578a5bc087f01e63524f79c81a.zip
extcon: rt8973a: 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>
-rw-r--r--drivers/extcon/extcon-rt8973a.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-rt8973a.c b/drivers/extcon/extcon-rt8973a.c
index 40c07f4d656e..02ba770acb27 100644
--- a/drivers/extcon/extcon-rt8973a.c
+++ b/drivers/extcon/extcon-rt8973a.c
@@ -192,7 +192,6 @@ static const struct regmap_irq_chip rt8973a_muic_irq_chip = {
.name = "rt8973a",
.status_base = RT8973A_REG_INT1,
.mask_base = RT8973A_REG_INTM1,
- .mask_invert = false,
.num_regs = 2,
.irqs = rt8973a_irqs,
.num_irqs = ARRAY_SIZE(rt8973a_irqs),