mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
staging: iio: Fix format string mismatch in ad7280a.c
Fix two format string mismatch in ad7280a.c Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
6442d94ba1
commit
fd8122d128
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue