diff options
author | Reno Farnesi <nfarnesi4@gmail.com> | 2017-07-02 00:54:08 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-07-02 12:27:03 +0300 |
commit | aab498ba12172e81b2deffda9400ebcf41e3462f (patch) | |
tree | fd4270a67525bbc8454640cc98a5d63f1399004d /drivers/iio/imu | |
parent | 2ff59bf39bbdc3b187050f8bf3a486b4ac416e86 (diff) | |
download | linux-aab498ba12172e81b2deffda9400ebcf41e3462f.tar.xz |
iio: adis16400: Change unsigned to unsigned int
This patch fixes the following checkpatch warnings:
Prefer 'unsigned int' to bare use of 'unsigned
Signed-off-by: Reno Farnesi <nfarnesi4@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/imu')
-rw-r--r-- | drivers/iio/imu/adis16400_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/imu/adis16400_core.c b/drivers/iio/imu/adis16400_core.c index fb7c0dbed51c..9b697d35dbef 100644 --- a/drivers/iio/imu/adis16400_core.c +++ b/drivers/iio/imu/adis16400_core.c @@ -217,7 +217,7 @@ static int adis16400_set_freq(struct adis16400_state *st, unsigned int freq) return adis_write_reg_8(&st->adis, ADIS16400_SMPL_PRD, val); } -static const unsigned adis16400_3db_divisors[] = { +static const unsigned int adis16400_3db_divisors[] = { [0] = 2, /* Special case */ [1] = 6, [2] = 12, @@ -890,7 +890,7 @@ static const struct adis_data adis16400_data = { static void adis16400_setup_chan_mask(struct adis16400_state *st) { const struct adis16400_chip_info *chip_info = st->variant; - unsigned i; + unsigned int i; for (i = 0; i < chip_info->num_channels; i++) { const struct iio_chan_spec *ch = &chip_info->channels[i]; |