[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191103103648.0d99a4fb@archlinux>
Date: Sun, 3 Nov 2019 10:36:48 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Alexandru Ardelean <alexandru.ardelean@...log.com>
Cc: <linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<lars@...afoo.de>, <Michael.Hennerich@...log.com>,
<dragos.bogdan@...log.com>
Subject: Re: [PATCH 07/10] iio: imu: adis16480: prefer `unsigned int` over
`unsigned`
On Fri, 1 Nov 2019 11:35:02 +0200
Alexandru Ardelean <alexandru.ardelean@...log.com> wrote:
> 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@...log.com>
Applied. Thanks,
Jonathan
> ---
> drivers/iio/imu/adis16480.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu/adis16480.c
> index d199d3d3c4bd..b9e2695bcfad 100644
> --- a/drivers/iio/imu/adis16480.c
> +++ b/drivers/iio/imu/adis16480.c
> @@ -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)
Powered by blists - more mailing lists