aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2020-07-02 16:58:52 +0800
committerSebastian Reichel <[email protected]>2020-07-28 02:18:24 +0200
commit466bf93153b871f9fed93aea1389673c17d253e7 (patch)
tree9f26b2ed8190b11fbd8b2e54787f49ca7c79b1e4 /scripts/gdb/linux
parent2f38dc4d9190cd97b8ceb88be5b835ee5feb44d1 (diff)
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 <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions