iio: Fix inkern remove incorrect put of device
authorJonathan Cameron <jic23@kernel.org>
Sat, 30 Jun 2012 12:55:23 +0000 (13:55 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 8 Jul 2012 19:02:31 +0000 (20:02 +0100)
The device_get is after this point so on error we should not be
removing it.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>

No differences found