mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
hwmon: (ina3221) return prober error code
[ Upstream commitc93f5e2ab5] ret is set to 0 which do not indicate an error. Return -EINVAL instead. Fixes:a9e9dd9c6d("hwmon: (ina3221) Read channel input source info from DT") Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> Link: https://lore.kernel.org/r/20230310075035.246083-1-marcus.folkesson@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
eacd1f6bb4
commit
d5b2e62fb2
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue