summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorHarinath Nampally <harinath922@gmail.com>2017-09-23 22:56:30 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-09-24 15:11:47 +0200
commitf8b7b30fb43a278693d1bf8f195d2864e7cc466e (patch)
treefeb6eebacf358c142a098beb35eb0ff6a2108f45 /drivers/iio/accel
parentiio: accel: mma8452: Fix code style warning (diff)
downloadlinux-f8b7b30fb43a278693d1bf8f195d2864e7cc466e.tar.xz
linux-f8b7b30fb43a278693d1bf8f195d2864e7cc466e.zip
iio: accel: mma8452: Fix code style warning for unsigned int declarations
Replace 'unsigned' with 'unsigned int' to improve code readability. Issue found by checkpatch. Signed-off-by: Harinath Nampally <harinath922@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel')
-rw-r--r--drivers/iio/accel/mma8452.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c
index 4a33a2640219..61941692bec5 100644
--- a/drivers/iio/accel/mma8452.c
+++ b/drivers/iio/accel/mma8452.c
@@ -1088,8 +1088,8 @@ done:
}
static int mma8452_reg_access_dbg(struct iio_dev *indio_dev,
- unsigned reg, unsigned writeval,
- unsigned *readval)
+ unsigned int reg, unsigned int writeval,
+ unsigned int *readval)
{
int ret;
struct mma8452_data *data = iio_priv(indio_dev);