]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: pm2301: drop duplicated i2c_device_id
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 11 Sep 2020 16:27:29 +0000 (18:27 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 3 Oct 2020 20:17:50 +0000 (22:17 +0200)
commit1d25e6b1e2627dac1d67d3191b1ac49b87a094af
treea8b56f4147fda50a1fe653c7de266b0420358bfb
parent096a58edf27d1b11d722890f68d5e65e23e57db2
power: supply: pm2301: drop duplicated i2c_device_id

The driver defines two of 'struct i2c_device_id' but uses only one:

  drivers/power/supply/pm2301_charger.c:107:35: warning:
    'pm2xxx_ident' defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/pm2301_charger.c