iio: pressure-core: st: Clean-up probe() function
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:05 +0000 (19:24 +0100)
commita6cc5b250c88930c47a0a231107844b69f086428
tree91f55ee6a7ce412126a712db2356d5d32445a46b
parentcaf5ca122b6b4c2da62949538604f1dabe6f34e8
iio: pressure-core: st: Clean-up probe() function

This patch contains some pretty basic clean-ups in probe() pertaining to
the simplification of error handling and a couple of readability adaptions.

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