提交 fd8122d1 编写于 作者: M Masanari Iida 提交者: Jonathan Cameron

staging: iio: Fix format string mismatch in ad7280a.c

Fix two format string mismatch in ad7280a.c
Signed-off-by: NMasanari Iida <standby24x7@gmail.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 6442d94b
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册