summaryrefslogtreecommitdiff
path: root/drivers/power/supply/ds2760_battery.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-05-07 12:19:26 -0400
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-06-04 13:11:37 +0200
commitce0ae8324e0953292a9a745ec074497ba9c1c7d3 (patch)
tree92c7dd32008e100cc67ca41653ca3b7ce831f845 /drivers/power/supply/ds2760_battery.c
parentc603bec359aece14c5e74a4aa174822692fba7d6 (diff)
power: supply: max17040: simplify POWER_SUPPLY_PROP_ONLINE
The driver was reporting POWER_SUPPLY_PROP_ONLINE via platform data functions or '1' if no platform data was provided. Since there are no platforms using the driver with platform data (no board files with the driver), the online property can be simplified to always return '1'. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/ds2760_battery.c')
0 files changed, 0 insertions, 0 deletions