Staging: iio/light/tsl2563: unlock on an error path
commit97d35f281e6c9a60968c202d0386834e332677ce
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 6 Oct 2011 06:15:03 +0000 (6 09:15 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Oct 2011 15:58:58 +0000 (11 09:58 -0600)
tree6362a61717166246fc986318a47fbe3d5e4cc702
parent15b80d641793968605254c2bbb2aa9a10accb415
Staging: iio/light/tsl2563: unlock on an error path

We need to unlock here before returning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/light/tsl2563.c