From 2d2da9fc7113ee5df06519e435f2f9430acf40c5 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Fri, 23 Aug 2013 03:47:00 +0100 Subject: [PATCH] iio: adc: twl6030-gpadc: fix error return code in twl6030_gpadc_read_raw() Fix to return -EINTR in the error handling case instead of 0 (ret is assigned after goto, which has no effect), as done elsewhere in this function. Signed-off-by: Wei Yongjun Reported-by: Dan Carpenter Signed-off-by: Jonathan Cameron --- Reading git-format-patch failed