]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit7b7627410e2c211f24787f61e6419e16d259aa13
tree7c778a1d229fc772b73ddd5df82f69e22a6a9c04
parent462c8d27940d1d41f76091544245b0af11b64c81
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>
drivers/iio/inkern.c