Commit ed4464ea authored by Axel Lin's avatar Axel Lin Committed by Zheng Zengkai
Browse files

regulator: cros-ec: Fix error code in dev_err message



stable inclusion
from stable-5.10.46
commit 0ea923519a3fdd81ce9c69ddcbd60809657deb88
bugzilla: 168323
CVE: NA

--------------------------------

[ Upstream commit 3d681804 ]

Show proper error code instead of 0.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210512075824.620580-1-axel.lin@ingics.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 541f6fb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment