diff options
author | Daniel Junho <djunho@gmail.com> | 2019-12-17 08:11:56 -0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-12-29 15:20:03 +0000 |
commit | c87de1ba35e4e4225f3e10b09d22c6490e6cd848 (patch) | |
tree | 1c8f5aaa5a10cfbdd67689639468ea9202248226 /drivers/iio/adc/ad7923.c | |
parent | 2df57429d8bee8d26c860d78039c9aaf2b9daffe (diff) | |
download | linux-c87de1ba35e4e4225f3e10b09d22c6490e6cd848.tar.bz2 |
iio: adc: ad7923: Fix checkpatch warning
Fix checkpatch warning:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
+static int ad7923_scan_direct(struct ad7923_state *st, unsigned ch)
Signed-off-by: Daniel Junho <djunho@gmail.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ad7923.c')
-rw-r--r-- | drivers/iio/adc/ad7923.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/ad7923.c b/drivers/iio/adc/ad7923.c index 969c06b7d2b7..e535cec9fc02 100644 --- a/drivers/iio/adc/ad7923.c +++ b/drivers/iio/adc/ad7923.c @@ -184,7 +184,7 @@ done: return IRQ_HANDLED; } -static int ad7923_scan_direct(struct ad7923_state *st, unsigned ch) +static int ad7923_scan_direct(struct ad7923_state *st, unsigned int ch) { int ret, cmd; |