projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d73e02
)
iio:accel:stk8312: code style cleanup
author
Hartmut Knaack
<knaack.h@gmx.de>
Wed, 29 Jul 2015 21:39:39 +0000
(23:39 +0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 8 Aug 2015 11:24:09 +0000
(12:24 +0100)
Adjust some indentation issues to make checkpatch.pl happy in strict mode.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/stk8312.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/accel/stk8312.c
b/drivers/iio/accel/stk8312.c
index 4a697446f196737c830819790907efa77e33c9c5..c5a47650b453651b96676af55ee17c61ffc43c01 100644
(file)
--- a/
drivers/iio/accel/stk8312.c
+++ b/
drivers/iio/accel/stk8312.c
@@
-157,8
+157,7
@@
static int stk8312_otp_init(struct stk8312_data *data)
if (ret < 0)
goto exit_err;
- ret = i2c_smbus_write_byte_data(data->client,
- STK8312_REG_AFECTRL, ret);
+ ret = i2c_smbus_write_byte_data(data->client, STK8312_REG_AFECTRL, ret);
if (ret < 0)
goto exit_err;
msleep(150);
@@
-458,7
+457,7
@@
static irqreturn_t stk8312_trigger_handler(int irq, void *p)
data->buffer[2] = buffer[2];
} else {
for_each_set_bit(bit, indio_dev->active_scan_mask,
- indio_dev->masklength) {
+
indio_dev->masklength) {
ret = stk8312_read_accel(data, bit);
if (ret < 0) {
mutex_unlock(&data->lock);