projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd327b0
)
iio: accel: mma8452: Fix code style warning for unsigned int declarations
author
Harinath Nampally
<harinath922@gmail.com>
Sat, 23 Sep 2017 20:56:30 +0000
(16:56 -0400)
committer
Jonathan 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
patch
|
blob
|
history
diff --git
a/drivers/iio/accel/mma8452.c
b/drivers/iio/accel/mma8452.c
index 4a33a2640219a08096d24790e124a17ca14333fe..61941692bec51520436b67421f01f10fc3c24494 100644
(file)
--- 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);