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:
Jonathan Cameron <jic23@kernel.org>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The device_get is after this point so on error we should not be
removing it.
Signed-off-by:
Jonathan Cameron <jic23@kernel.org>