summaryrefslogtreecommitdiffstats
path: root/drivers/misc/qcom-coincell.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ARM: qcom: silence an uninitialized variable warningDan Carpenter2016-05-011-1/+2
| | | | | | | | | | It's harmless but, if "enable" isn't set, then we pass uninitialized values to qcom_coincell_chgr_config(). The values aren't used, but let's silence the warning anyway. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Tim Bird <tim.bird@sonymobile.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ARM: qcom: Add coincell charger driverTim Bird2015-07-291-0/+152
This driver is used to configure the coincell charger found in Qualcomm PMICs. The driver allows configuring the current-limiting resistor for the charger, as well as the voltage to apply to the coincell (or capacitor) when charging. Signed-off-by: Tim Bird <tim.bird@sonymobile.com> Reviewed-by: Andy Gross <agross@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>