mirror of https://github.com/torvalds/linux.git
ACPM PMIC command handlers returned a u8 value when they should
have returned either zero or negative error codes.
Translate the APM PMIC errno to linux errno.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/linux-input/aElHlTApXj-W_o1r@stanley.mountain/
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| exynos-acpm-pmic.c | ||
| exynos-acpm-pmic.h | ||
| exynos-acpm.c | ||
| exynos-acpm.h | ||