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:
d23057e
)
iio: magnetometer: ak8975: put else and brace at the same line
author
Slawomir Stepien
<sst@poczta.fm>
Thu, 14 Apr 2016 19:36:41 +0000
(21:36 +0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 16 Apr 2016 12:39:27 +0000
(13:39 +0100)
This fixes the error reported by checkpatch.pl:
ERROR: else should follow close brace '}'
Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/ak8975.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/magnetometer/ak8975.c
b/drivers/iio/magnetometer/ak8975.c
index 1e6898141f884bd0e461a33fc4045cbb3fb08dcd..a2aac50a0149dddaf411ea2aad3490cdb5a8fc3d 100644
(file)
--- a/
drivers/iio/magnetometer/ak8975.c
+++ b/
drivers/iio/magnetometer/ak8975.c
@@
-882,8
+882,7
@@
static int ak8975_probe(struct i2c_client *client,
name = ak8975_match_acpi_device(&client->dev, &chipset);
if (!name)
return -ENODEV;
- }
- else
+ } else
return -ENOSYS;
if (chipset >= AK_MAX_TYPE) {