iio: sensors-core: st: Clean-up error handling in st_sensors_read_axis_data()
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Sep 2013 16:02:00 +0000 (17:02 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 21 Sep 2013 18:24:04 +0000 (19:24 +0100)
commitcaf5ca122b6b4c2da62949538604f1dabe6f34e8
treeed5613425042e374cb97a17acd31d13ef8496ac8
parentefd9566ff8aef07d89d9ee530b65b38dad3b8eb9
iio: sensors-core: st: Clean-up error handling in st_sensors_read_axis_data()

Gets rid of those unnecessary gotos.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/st_sensors/st_sensors_core.c