power: supply: generic-adc-battery: Prepare for const properties
authorSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 13 Apr 2020 18:38:52 +0000 (20:38 +0200)
committerSebastian Reichel <sre@kernel.org>
Fri, 1 May 2020 13:43:04 +0000 (15:43 +0200)
commit191e6bcf50dd54786c3560420b815bce5b523a61
treeb18ef1bea139c433bb0ff6e2531463c1e96beaa2
parent4cb3825859dcc37eaf6994a32c3487d0a1fdda0b
power: supply: generic-adc-battery: Prepare for const properties

This prepares the driver to work with the properties entry
in power_supply_desc marked as const.

Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/generic-adc-battery.c