power: supply: generic-adc-battery: remove redundant variable pdata

Pointer pdata is assigned but never used, so remove it. Cleans up the
clang warning:

drivers/power/supply/generic-adc-battery.c:211:2: warning: Value
stored to 'pdata' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
This commit is contained in:
Colin Ian King 2017-10-31 10:40:00 +00:00 • committed by Sebastian Reichel
commit 393ce139d5