From: Masanari Iida Date: Mon, 28 Apr 2014 16:00:00 +0000 (+0100) Subject: staging: iio: Fix format string mismatch in ad7280a.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fd8122d12858132aa9684f2b979107a1f4bba139;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: iio: Fix format string mismatch in ad7280a.c Fix two format string mismatch in ad7280a.c Signed-off-by: Masanari Iida Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c index 1ac11f64827c..d215edf66af2 100644 --- a/drivers/staging/iio/adc/ad7280a.c +++ b/drivers/staging/iio/adc/ad7280a.c @@ -443,7 +443,7 @@ static ssize_t ad7280_show_balance_timer(struct device *dev, msecs = (ret >> 3) * 71500; - return sprintf(buf, "%d\n", msecs); + return sprintf(buf, "%u\n", msecs); } static ssize_t ad7280_store_balance_timer(struct device *dev, @@ -619,7 +619,7 @@ static ssize_t ad7280_read_channel_config(struct device *dev, return -EINVAL; } - return sprintf(buf, "%d\n", val); + return sprintf(buf, "%u\n", val); } static ssize_t ad7280_write_channel_config(struct device *dev,