]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
iio: accel: mma8452: Fix code style warning for unsigned int declarations
authorHarinath Nampally <harinath922@gmail.com>
Sat, 23 Sep 2017 20:56:30 +0000 (16:56 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 24 Sep 2017 13:11:47 +0000 (14:11 +0100)
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>
drivers/iio/accel/mma8452.c

index 4a33a2640219a08096d24790e124a17ca14333fe..61941692bec51520436b67421f01f10fc3c24494 100644 (file)
@@ -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);