Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

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>

authored by

Svetlana Orlik and committed by
Greg Kroah-Hartman
3261c31c a5948d91

+2 -2
+2 -2
drivers/staging/iio/accel/adis16240_core.c
··· 29 29 static ssize_t adis16240_spi_read_signed(struct device *dev, 30 30 struct device_attribute *attr, 31 31 char *buf, 32 - unsigned bits) 32 + unsigned int bits) 33 33 { 34 34 struct iio_dev *indio_dev = dev_to_iio_dev(dev); 35 35 struct adis *st = iio_priv(indio_dev); 36 36 int ret; 37 37 s16 val = 0; 38 - unsigned shift = 16 - bits; 38 + unsigned int shift = 16 - bits; 39 39 struct iio_dev_attr *this_attr = to_iio_dev_attr(attr); 40 40 41 41 ret = adis_read_reg_16(st,