staging:iio:tsl2563 Simplify exit path on error in read_interrupt_config.
authorJonathan Cameron <jic23@kernel.org>
Sat, 12 Jan 2013 10:35:00 +0000 (10:35 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 26 Jan 2013 10:36:51 +0000 (10:36 +0000)
commita722dcca4da47a480a6042c0c0275695a597b77f
treeed236ca9587914a10d5840c26bc121161f67fc3f
parenta9e244f65df170ae6efba03bdb0a203626ae1cd3
staging:iio:tsl2563 Simplify exit path on error in read_interrupt_config.

A rather over complicated exit path given there is only one exit
route and nothing much is done after it.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Peter Meerwald <pmeerw@pmeerw.net>
drivers/staging/iio/light/tsl2563.c