diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-06-01 10:53:30 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-06-01 10:56:44 +0300 |
commit | 098c4adf249c198519a4abebe482b1e6b8c50e47 (patch) | |
tree | f0218e6da2358a03449e06ad7442912afa02ad02 /drivers/iio | |
parent | 7edd363421dab1d4806802ac65613d1c0ec85824 (diff) | |
download | linux-098c4adf249c198519a4abebe482b1e6b8c50e47.tar.xz |
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 <lkp@intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions