iio: imu: adis16480: prefer `unsigned int` over `unsigned`
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Fri, 1 Nov 2019 09:35:02 +0000 (11:35 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 Nov 2019 10:38:40 +0000 (10:38 +0000)
This is a typical checkpatch warning. The change just renames the type of
the `freq` var to `unsigned int`.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis16480.c

index d199d3d..b9e2695 100644 (file)
@@ -350,7 +350,7 @@ static int adis16480_get_freq(struct iio_dev *indio_dev, int *val, int *val2)
        struct adis16480 *st = iio_priv(indio_dev);
        uint16_t t;
        int ret;
-       unsigned freq;
+       unsigned int freq;
        unsigned int reg;
 
        if (st->clk_mode == ADIS16480_CLK_PPS)