diff options
| author | 2020-07-02 16:58:52 +0800 | |
|---|---|---|
| committer | 2020-07-28 02:18:24 +0200 | |
| commit | 466bf93153b871f9fed93aea1389673c17d253e7 (patch) | |
| tree | 9f26b2ed8190b11fbd8b2e54787f49ca7c79b1e4 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | power: supply: max17040: Add POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN (diff) | |
| download | linux-dev-466bf93153b871f9fed93aea1389673c17d253e7.tar.xz linux-dev-466bf93153b871f9fed93aea1389673c17d253e7.zip | |
power: supply: rt5033_battery: Fix error code in rt5033_battery_probe()
In the function rt5033_battery_probe(), it should return -ENOMEM
instead of -EINVAL when call function devm_kzalloc() failed.
Signed-off-by: Peng Fan <fanpeng@loongson.cn>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
