Lars-Peter Clausen 6b92ba0a30 iio: __iio_format_value(): Convert to sysfs_emit_at()
sysfs_emit() is preferred over raw s*printf() for sysfs attributes since it
knows about the sysfs buffer specifics and has some built-in sanity checks.

Convert __iio_format_value() and related functions to use this new
interface.

This conversion involves changing the signature of __iio_format_value() so
that it similar to sysfs_emit_at() and takes the buffers start address and
an offset where to write within the buffer.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20210320071405.9347-4-lars@metafoo.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-03-29 11:12:30 +01:00
..
2021-02-02 14:26:02 +01:00
2021-01-31 08:05:46 -07:00
2021-02-26 09:41:03 -08:00
2021-02-24 10:25:37 -08:00
2021-02-22 14:44:39 -08:00
2021-02-23 15:05:10 -08:00
2021-02-22 14:27:07 -08:00
2021-02-22 09:52:55 -08:00
2021-02-28 15:48:25 -08:00
2021-03-12 13:25:49 -08:00
2021-03-13 12:38:44 -08:00
2021-03-23 10:03:13 +01:00
2021-02-24 10:25:37 -08:00
2021-02-24 09:35:54 -08:00
2021-02-24 10:25:37 -08:00
2021-03-21 10:57:35 -07:00
2021-02-25 12:23:49 -08:00
2021-03-20 10:57:10 -07:00
2021-02-26 14:16:06 -08:00
2021-02-28 11:51:20 -08:00
2021-03-18 11:20:35 -07:00
2021-03-18 11:20:35 -07:00
2021-02-09 12:15:07 +01:00
2021-03-12 11:34:36 -08:00