summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/ltc3651-charger.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* power: supply: ltc3651-charger: Fix device name (rename files)Michael Hennerich2019-04-101-207/+0
| | | | | | | rename only - no functional changes Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
* power: supply: ltc3651-charger: Fix device nameMichael Hennerich2019-04-101-63/+60
| | | | | | | | | There never was a device called LTC3651, it always was just LT3651. This circumstance makes it pretty difficult to identify what this driver is meant to control.channges since Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
* power: supply: ltc3651-charger: fix some error codes in probeDan Carpenter2017-06-081-3/+3
| | | | | | | | | | | | | There are several cut and past bugs here. ltc3651_charger->charger is NULL at this point, so we return success instead of the intended error codes. Fixes: c94d4ed017ae ("power: supply: Add ltc3651-charger driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> [Wei Yongjun found the same issue independently] Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Sebastian Reichel <sre@kernel.org>
* power: supply: Add ltc3651-charger driverMike Looijmans2017-05-151-0/+210
The LTC3651 reports its status via GPIO lines. This driver translates the GPIO levels to battery charger status information via sysfs. It relies on devicetree to supply the IO configuration. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>