mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
iio: Make IIO value formating function globally available.
Make IIO value formating function globally available to allow IIO drivers to output values as the core does. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
e60378c17c
commit
7d2c2acac5
2 changed files with 3 additions and 0 deletions
|
@ -636,6 +636,8 @@ static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev)
|
|||
}
|
||||
#endif
|
||||
|
||||
ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals);
|
||||
|
||||
int iio_str_to_fixpoint(const char *str, int fract_mult, int *integer,
|
||||
int *fract);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue