summaryrefslogtreecommitdiff
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-08-11 00:51:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-15 03:36:24 +0300
commitd98d2ccb4ceb4f28408299d1cc3846ab6be7ec52 (patch)
tree6d8434da75d2e5f5cc360768a9ee5e32ad175414 /drivers/staging/iio
parent5132fcd1fb55eddf04c7a06ede75723d7870b797 (diff)
downloadlinux-d98d2ccb4ceb4f28408299d1cc3846ab6be7ec52.tar.xz
staging: iio: Remove unnecessary externs
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>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r--drivers/staging/iio/meter/ade7854.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/meter/ade7854.h b/drivers/staging/iio/meter/ade7854.h
index 52ca5412a18d..52f4195cf6f4 100644
--- 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