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

iio: accel: Prefer unsigned int to bare use of unsigned

Fix checkpatch warnings:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'

Signed-off-by: Miguel Robles <miguel.robles@farole.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

authored by

Miguel Robles and committed by
Jonathan Cameron
7fa6790c 099c4cef

+4 -4
+4 -4
drivers/iio/accel/bma180.c
··· 41 41 42 42 struct bma180_part_info { 43 43 const struct iio_chan_spec *channels; 44 - unsigned num_channels; 44 + unsigned int num_channels; 45 45 const int *scale_table; 46 - unsigned num_scales; 46 + unsigned int num_scales; 47 47 const int *bw_table; 48 - unsigned num_bw; 48 + unsigned int num_bw; 49 49 50 50 u8 int_reset_reg, int_reset_mask; 51 51 u8 sleep_reg, sleep_mask; ··· 408 408 dev_err(&data->client->dev, "failed to disable the chip\n"); 409 409 } 410 410 411 - static ssize_t bma180_show_avail(char *buf, const int *vals, unsigned n, 411 + static ssize_t bma180_show_avail(char *buf, const int *vals, unsigned int n, 412 412 bool micros) 413 413 { 414 414 size_t len = 0;