Commit 3261c31c authored by Svetlana Orlik's avatar Svetlana Orlik Committed by Greg Kroah-Hartman

staging: iio: accel: adis16240: Replace 'unsigned' with 'unsigned int'

Replace 'unsigned' with 'unsigned int' to avoid checkpatch warning.
Signed-off-by: default avatarSvetlana Orlik <sveta.orlik.code@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a5948d91
...@@ -29,13 +29,13 @@ ...@@ -29,13 +29,13 @@
static ssize_t adis16240_spi_read_signed(struct device *dev, static ssize_t adis16240_spi_read_signed(struct device *dev,
struct device_attribute *attr, struct device_attribute *attr,
char *buf, char *buf,
unsigned bits) unsigned int bits)
{ {
struct iio_dev *indio_dev = dev_to_iio_dev(dev); struct iio_dev *indio_dev = dev_to_iio_dev(dev);
struct adis *st = iio_priv(indio_dev); struct adis *st = iio_priv(indio_dev);
int ret; int ret;
s16 val = 0; s16 val = 0;
unsigned shift = 16 - bits; unsigned int shift = 16 - bits;
struct iio_dev_attr *this_attr = to_iio_dev_attr(attr); struct iio_dev_attr *this_attr = to_iio_dev_attr(attr);
ret = adis_read_reg_16(st, ret = adis_read_reg_16(st,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment