aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/extcon
diff options
context:
space:
mode:
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>2022-06-20 21:06:31 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2022-07-15 11:37:41 +0900
commitd4f46c0e52d6ef309ba74830916fcb02b119ce0e (patch)
tree0772764b8d981a8df2a8a74948a7e81850c6d8f0 /drivers/extcon
parentextcon: Drop unexpected word "the" in the comments (diff)
downloadwireguard-linux-d4f46c0e52d6ef309ba74830916fcb02b119ce0e.tar.xz
wireguard-linux-d4f46c0e52d6ef309ba74830916fcb02b119ce0e.zip
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>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-sm5502.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/extcon/extcon-sm5502.c b/drivers/extcon/extcon-sm5502.c
index f706f5288257..8401e8b27788 100644
--- a/drivers/extcon/extcon-sm5502.c
+++ b/drivers/extcon/extcon-sm5502.c
@@ -227,7 +227,6 @@ static const struct regmap_irq_chip sm5502_muic_irq_chip = {
.name = "sm5502",
.status_base = SM5502_REG_INT1,
.mask_base = SM5502_REG_INTMASK1,
- .mask_invert = false,
.num_regs = 2,
.irqs = sm5502_irqs,
.num_irqs = ARRAY_SIZE(sm5502_irqs),
@@ -276,7 +275,6 @@ static const struct regmap_irq_chip sm5504_muic_irq_chip = {
.name = "sm5504",
.status_base = SM5502_REG_INT1,
.mask_base = SM5502_REG_INTMASK1,
- .mask_invert = false,
.num_regs = 2,
.irqs = sm5504_irqs,
.num_irqs = ARRAY_SIZE(sm5504_irqs),