diff options
| author | Hans de Goede <[email protected]> | 2018-04-18 12:08:20 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2018-04-25 22:44:40 +0000 |
| commit | efb440ecc15610539dc7a177ae8eed4bf536da06 (patch) | |
| tree | b9314b3ce741d9096b9666dd21b383ea08d51efd /net/unix/af_unix.c | |
| parent | power: supply: axp288_charger: Support 3500 and 4000 mA input current limit (diff) | |
| download | kernel-efb440ecc15610539dc7a177ae8eed4bf536da06.tar.gz kernel-efb440ecc15610539dc7a177ae8eed4bf536da06.zip | |
power: supply: axp288_charger: Do not bind when the charge function is not used
Some devices with an AXP288 PMIC do not have a battery at all, or use
external charger and fuelgauge ICs instead of the AXP288 builtin
functionality.
On such devices we should not bind to the charge function to avoid
exporting a non working power_supply class device.
Cc: Carlo Caione <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
