Loading include/linux/iio/iio.h +4 −4 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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 Loading @@ -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 Loading
include/linux/iio/iio.h +4 −4 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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 Loading @@ -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