]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: iio: accel: adis16240: Replace 'unsigned' with 'unsigned int'
authorSvetlana Orlik <sveta.orlik.code@gmail.com>
Tue, 22 Mar 2016 08:43:08 +0000 (11:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
Replace 'unsigned' with 'unsigned int' to avoid checkpatch warning.

Signed-off-by: Svetlana Orlik <sveta.orlik.code@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/accel/adis16240_core.c

index 1b5b685a86919c8f9d08633f96780f28277d4090..a425e18948638c51b46835a6fc5dd625e7d2c24b 100644 (file)
 static ssize_t adis16240_spi_read_signed(struct device *dev,
                                         struct device_attribute *attr,
                                         char *buf,
-                                        unsigned bits)
+                                        unsigned int bits)
 {
        struct iio_dev *indio_dev = dev_to_iio_dev(dev);
        struct adis *st = iio_priv(indio_dev);
        int ret;
        s16 val = 0;
-       unsigned shift = 16 - bits;
+       unsigned int shift = 16 - bits;
        struct iio_dev_attr *this_attr = to_iio_dev_attr(attr);
 
        ret = adis_read_reg_16(st,