projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5132fcd
)
staging: iio: Remove unnecessary externs
author
Joe Perches
<joe@perches.com>
Mon, 10 Aug 2015 21:51:20 +0000
(14:51 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 00:36:24 +0000
(17:36 -0700)
Using 'extern' is not necessary for function prototypes.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/meter/ade7854.h
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/meter/ade7854.h
b/drivers/staging/iio/meter/ade7854.h
index
52ca541
..
52f4195
100644
(file)
--- a/
drivers/staging/iio/meter/ade7854.h
+++ b/
drivers/staging/iio/meter/ade7854.h
@@
-168,7
+168,7
@@
struct ade7854_state {
};
-
extern
int ade7854_probe(struct iio_dev *indio_dev, struct device *dev);
-
extern
int ade7854_remove(struct iio_dev *indio_dev);
+int ade7854_probe(struct iio_dev *indio_dev, struct device *dev);
+int ade7854_remove(struct iio_dev *indio_dev);
#endif