diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2021-02-10 20:21:08 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2021-03-06 20:39:05 +0300 |
commit | c8bbab8f2d5f8b292d568449584bef7ef10d609e (patch) | |
tree | 6829fd9e195569a552edcf681f9b4aa7e168bdac /drivers/power/supply/smb347-charger.c | |
parent | d6ce6e81085221ccf7899291a0fa1ffbe31d5218 (diff) | |
download | linux-c8bbab8f2d5f8b292d568449584bef7ef10d609e.tar.xz |
power: supply: s3c_adc_battery: remove unused pdata in suspend/resume
The "pdata" local variable is not used in suspend/resume handlers since
commit 7776bcd241e0 ("power: supply: s3c-adc-battery: Convert to GPIO
descriptors"):
drivers/power/supply/s3c_adc_battery.c: In function ‘s3c_adc_bat_suspend’:
drivers/power/supply/s3c_adc_battery.c:405:28: warning: unused variable ‘pdata’ [-Wunused-variable]
drivers/power/supply/s3c_adc_battery.c: In function ‘s3c_adc_bat_resume’:
drivers/power/supply/s3c_adc_battery.c:422:28: warning: unused variable ‘pdata’ [-Wunused-variable]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/smb347-charger.c')
0 files changed, 0 insertions, 0 deletions