staging: iio: ade7854-spi: Fix return value
ade7854_probe can fail. Return the value obtained from it instead of 0 (success). Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Cc: Barry Song <21cnbao@gmail.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录