diff options
| author | Tony Lindgren <[email protected]> | 2017-05-03 17:15:29 -0700 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2017-05-04 17:51:32 +0200 |
| commit | 4f700a5285dc8f9dde4ad02542bc42fe9f97cfcf (patch) | |
| tree | 68e5ae19563652efe777da6b802d8fb2b5f6a998 /lib/mpi/mpi-mul.c | |
| parent | 50730eb367147dc96394d25b3f55c33595663b6f (diff) | |
power: supply: cpcap-charger: Fix charger name
I noticed we have a different name from what Android is using.
Let's not break the /sys/class/power user space interface here
and use the same naming as Android has.
On Android we have the following for droid 4:
$ ls /sys/class/power_supply/
ac battery usb
So let's use the usb naming here for charger too.
Fixes: 0c9888e3c192 ("power: supply: cpcap-charger: Add minimal
CPCAP PMIC battery charger")
Cc: Marcel Partap <[email protected]>
Cc: Michael Scott <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions