summaryrefslogtreecommitdiffstats
path: root/Documentation/CodingStyle
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-09-16 18:02:00 +0200
committerJonathan Cameron <jic23@kernel.org>2013-09-21 20:24:04 +0200
commitefd9566ff8aef07d89d9ee530b65b38dad3b8eb9 (patch)
treea686651a9b41aa29873d306b82a5fcdc47ecb270 /Documentation/CodingStyle
parentiio: sensors-core: st: Support sensors which don't have a Data Ready pin (diff)
downloadlinux-efd9566ff8aef07d89d9ee530b65b38dad3b8eb9.tar.xz
linux-efd9566ff8aef07d89d9ee530b65b38dad3b8eb9.zip
iio: sensors-core: st: Clean-up error handling in st_sensors_init_sensor()
Strip out all those unnecessary gotos and just return the error right away. Aids to simplicity and reduces code. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/CodingStyle')
0 files changed, 0 insertions, 0 deletions