Skip to content
Commit cc5f2eb7 authored by Dan Carpenter's avatar Dan Carpenter Committed by Lee Jones
Browse files

mfd: tps6594: Fix an error code in probe()



These error paths accidentally return success when they should return
-EINVAL.

Fixes: 325bec71 ("mfd: tps6594: Add driver for TI TPS6594 PMIC")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/49f7cd8f-f7eb-40f1-91e8-291620c684df@kili.mountain


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 4b506480
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment