staging: iio: accel: add error check
Go to error_ret if sca3000_read_ctrl_reg() failed. Signed-off-by: NLuis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录
Go to error_ret if sca3000_read_ctrl_reg() failed. Signed-off-by: NLuis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>