Skip to content

Commit 098c4ad

Browse files
author
Lee Jones
committed
mfd: mt6360: Remove duplicate REGMAP_IRQ_REG_LINE() entry
Fixes the following build warning: >> drivers/mfd/mt6360-core.c:148:2: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] REGMAP_IRQ_REG_LINE(MT6360_CHG_TREG_EVT, 8), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/regmap.h:1191:10: note: expanded from macro 'REGMAP_IRQ_REG_LINE' [_id] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/mfd/mt6360-core.c:124:2: note: previous initialization is here REGMAP_IRQ_REG_LINE(MT6360_CHG_TREG_EVT, 8), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/regmap.h:1191:10: note: expanded from macro 'REGMAP_IRQ_REG_LINE' [_id] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Reported-by: kbuild test robot <[email protected]> Signed-off-by: Lee Jones <[email protected]>
1 parent 7edd363 commit 098c4ad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/mfd/mt6360-core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ static const struct regmap_irq mt6360_pmu_irqs[] = {
145145
REGMAP_IRQ_REG_LINE(MT6360_CHG_TERMI, 8),
146146
REGMAP_IRQ_REG_LINE(MT6360_CHG_IEOCI, 8),
147147
REGMAP_IRQ_REG_LINE(MT6360_PUMPX_DONEI, 8),
148-
REGMAP_IRQ_REG_LINE(MT6360_CHG_TREG_EVT, 8),
149148
REGMAP_IRQ_REG_LINE(MT6360_BAT_OVP_ADC_EVT, 8),
150149
REGMAP_IRQ_REG_LINE(MT6360_TYPEC_OTP_EVT, 8),
151150
REGMAP_IRQ_REG_LINE(MT6360_ADC_WAKEUP_EVT, 8),

0 commit comments

Comments
 (0)