lkml.org 
[lkml]   [2019]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 07/10] iio: imu: adis16480: prefer `unsigned int` over `unsigned`
    Date
    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>
    ---
    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)
    --
    2.20.1
    \
     
     \ /
      Last update: 2019-11-01 10:36    [W:4.188 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site