power: supply: max17042_battery: Add support for the SCOPE property
authorHans de Goede <hdegoede@redhat.com>
Fri, 14 Apr 2017 18:32:58 +0000 (20:32 +0200)
committerSebastian Reichel <sre@kernel.org>
Mon, 1 May 2017 10:37:58 +0000 (12:37 +0200)
commitadb69a3c4524693a32ba72533ee6d7a52e54989e
tree90c595b4fd67a38caf5862cacf8bbc4f668f7681
parent6d6b61eafca94146cedf7709974a7423df16a6f1
power: supply: max17042_battery: Add support for the SCOPE property

Add support for the SCOPE property, always return SCOPE_SYSTEM,
as the max170xx is used for the main battery on all known systems
with a max170xx.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/max17042_battery.c