diff options
| author | Lee Jones <lee.jones@linaro.org> | 2013-09-16 17:02:00 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-12-11 15:51:12 +0100 |
| commit | 340aa2083b582b7e0525616949c4082381857d45 (patch) | |
| tree | 94c749fae3965d1f34da31c4d33e56998fb81967 /scripts/cleanpatch | |
| parent | 66c15e99ab35959c0c4566ee980921b5ff44d711 (diff) | |
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 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
