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: NAxel Lin <axel.lin@ingics.com> Link: https://lore.kernel.org/r/20210512075824.620580-1-axel.lin@ingics.comSigned-off-by: NMark Brown <broonie@kernel.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录