Fixing some issues I spotted during review. Changes in V2: - put device back in active mode in case of an error Hartmut Knaack (7): iio:accel:stk8312: add triggered buffer dependency iio:accel:stk8312: check for invalid value iio:accel:stk8312: improve error handling iio:accel:stk8312: rework macro definitions iio:accel:stk8312: use appropriate variable types iio:accel:stk8312: code style cleanup iio:accel:stk8312: drop local buffer drivers/iio/accel/Kconfig | 2 + drivers/iio/accel/stk8312.c | 106 +++++++++++++++++++++++++------------------- 2 files changed, 62 insertions(+), 46 deletions(-) -- 2.4.6 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html