iio: Fix inkern remove incorrect put of device
The device_get is after this point so on error we should not be
removing it.
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录
The device_get is after this point so on error we should not be
removing it.
Signed-off-by: NJonathan Cameron <jic23@kernel.org>