projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
675cb4a
)
iio: light: apds9960: remove unneeded semicolon
author
Tom Rix
<trix@redhat.com>
Tue, 27 Oct 2020 20:14:36 +0000
(13:14 -0700)
committer
Jonathan Cameron
<Jonathan.Cameron@huawei.com>
Sat, 31 Oct 2020 15:02:35 +0000
(15:02 +0000)
A semicolon is not needed after a switch statement.
Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Link:
https://lore.kernel.org/r/20201027201436.1597726-1-trix@redhat.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/apds9960.c
patch
|
blob
|
history
diff --git
a/drivers/iio/light/apds9960.c
b/drivers/iio/light/apds9960.c
index 9afb3fcc74e627edf4a8184a229f163bd05e90dd..547e7f9d692031a51b93569b5a35f88fe9c30e0a 100644
(file)
--- a/
drivers/iio/light/apds9960.c
+++ b/
drivers/iio/light/apds9960.c
@@
-561,7
+561,7
@@
static int apds9960_write_raw(struct iio_dev *indio_dev,
}
default:
return -EINVAL;
- }
;
+ }
return 0;
}