mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
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>
This commit is contained in:
parent
c22b90db54
commit
f87d092fe4
1 changed files with 0 additions and 5 deletions
|
@ -104,11 +104,6 @@ static int pm2xxx_charger_current_map[] = {
|
|||
3000,
|
||||
};
|
||||
|
||||
static const struct i2c_device_id pm2xxx_ident[] = {
|
||||
{ "pm2301", 0 },
|
||||
{ }
|
||||
};
|
||||
|
||||
static void set_lpn_pin(struct pm2xxx_charger *pm2)
|
||||
{
|
||||
if (!pm2->ac.charger_connected && gpio_is_valid(pm2->lpn_pin)) {
|
||||
|
|
Loading…
Reference in a new issue