Commit 6898eb89 authored by Peter Meerwald's avatar Peter Meerwald Committed by Jonathan Cameron

iio: Remove trailing ; from function definitions

Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 91121c10
...@@ -457,7 +457,7 @@ static inline void iio_device_put(struct iio_dev *indio_dev) ...@@ -457,7 +457,7 @@ static inline void iio_device_put(struct iio_dev *indio_dev)
{ {
if (indio_dev) if (indio_dev)
put_device(&indio_dev->dev); put_device(&indio_dev->dev);
}; }
/** /**
* dev_to_iio_dev() - Get IIO device struct from a device struct * dev_to_iio_dev() - Get IIO device struct from a device struct
...@@ -593,7 +593,7 @@ static inline bool iio_buffer_enabled(struct iio_dev *indio_dev) ...@@ -593,7 +593,7 @@ static inline bool iio_buffer_enabled(struct iio_dev *indio_dev)
{ {
return indio_dev->currentmode return indio_dev->currentmode
& (INDIO_BUFFER_TRIGGERED | INDIO_BUFFER_HARDWARE); & (INDIO_BUFFER_TRIGGERED | INDIO_BUFFER_HARDWARE);
}; }
/** /**
* iio_get_debugfs_dentry() - helper function to get the debugfs_dentry * iio_get_debugfs_dentry() - helper function to get the debugfs_dentry
...@@ -603,12 +603,12 @@ static inline bool iio_buffer_enabled(struct iio_dev *indio_dev) ...@@ -603,12 +603,12 @@ static inline bool iio_buffer_enabled(struct iio_dev *indio_dev)
static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev) static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev)
{ {
return indio_dev->debugfs_dentry; return indio_dev->debugfs_dentry;
}; }
#else #else
static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev) static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev)
{ {
return NULL; return NULL;
}; }
#endif #endif
int iio_str_to_fixpoint(const char *str, int fract_mult, int *integer, int iio_str_to_fixpoint(const char *str, int fract_mult, int *integer,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment