Lee Jones 374de1642e iio: sensors-core: st: Check st_sensors_set_drdy_int_pin()'s return value
Value from st_sensors_set_drdy_int_pin() is assigned to err here,
but that stored value is not used before it is overwritten.  To fix
this we're enforcing a check on st_sensors_set_drdy_int_pin()'s
return value and if it's an error, we're returning right away.

Cc: jic23@kernel.org
Cc: linux-iio@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-09-26 08:15:27 +01:00
..
2014-08-04 18:36:12 -07:00
2014-07-13 15:35:56 -07:00
2014-07-13 15:35:56 -07:00
2014-07-13 15:35:56 -07:00