power: bq24190_charger: Fix charge type sysfs property
authorAndreas Dannenberg <dannenberg@ti.com>
Tue, 4 Aug 2015 16:36:17 +0000 (11:36 -0500)
committerSebastian Reichel <sre@kernel.org>
Wed, 5 Aug 2015 04:01:15 +0000 (06:01 +0200)
commitc9f85a90d41476aca2d3b60f98ab87d7ae1b8612
tree0be051118319e13275ed06dfbff2974e6df388c7
parent1e8b82c1ff3bc52c5e4265d66fe5c6da9a66e2e6
power: bq24190_charger: Fix charge type sysfs property

Access to the BQ24190's configurable charge type property (none, trickle,
fast) is being masked by an incorrect power_supply_property entry. After
applying this patch a new 'charge_type' property will appear in the
bq24190-charger sysfs folder backed up by getters/setters already
present in the driver.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Acked-by: Dan Murphy <dmurphy@ti.com>
Acked-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/bq24190_charger.c