• Lee Jones's avatar
    mfd: mt6360: Remove duplicate REGMAP_IRQ_REG_LINE() entry · 098c4adf
    Lee Jones authored
    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: default avatarkbuild test robot <lkp@intel.com>
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    098c4adf
mt6360-core.c 14.3 KB