power: supply: bq24190_charger: Add input_current_limit property
authorHans de Goede <hdegoede@redhat.com>
Tue, 15 Aug 2017 20:04:58 +0000 (22:04 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Tue, 29 Aug 2017 10:26:59 +0000 (12:26 +0200)
commit74229f938434a8a48c01a39ab9f82ffc27faa7da
tree309310cca2343953ad77ffc02396f7166f6a7997
parentc3142dd8bedb8b78ee13c885dd92093fc8a50277
power: supply: bq24190_charger: Add input_current_limit property

Export the input current limit of the charger as a
POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT property on the charger
power_supply class device.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/bq24190_charger.c