iio: Remove trailing ; from function definitions
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
91121c103a
commit
6898eb8965
|
@ -457,7 +457,7 @@ static inline void iio_device_put(struct iio_dev *indio_dev)
|
|||
{
|
||||
if (indio_dev)
|
||||
put_device(&indio_dev->dev);
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 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)
|
|||
{
|
||||
return indio_dev->currentmode
|
||||
& (INDIO_BUFFER_TRIGGERED | INDIO_BUFFER_HARDWARE);
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 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)
|
|||
static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev)
|
||||
{
|
||||
return indio_dev->debugfs_dentry;
|
||||
};
|
||||
}
|
||||
#else
|
||||
static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev)
|
||||
{
|
||||
return NULL;
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
int iio_str_to_fixpoint(const char *str, int fract_mult, int *integer,
|
||||
|
|
Loading…
Reference in New Issue