Skip to content
Commit 6daa663d authored by Dan Carpenter's avatar Dan Carpenter Committed by Samuel Ortiz
Browse files

regulator: Storing tps65912 error codes in u8



get_ctrl_reg() returns -EINVAL so the error handling won't work here
if reg is a u8.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent dc7e412d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment