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-24 10:25:37 -08:00
2021-02-25 12:03:13 -08:00
2021-02-02 14:26:02 +01:00
2021-01-31 08:05:46 -07:00
2021-03-17 13:16:18 -07:00
2021-02-26 09:41:03 -08:00
2021-03-19 16:35:47 +01:00
2021-03-17 13:16:18 -07:00
2021-03-17 13:16:18 -07:00
2021-02-24 10:25:37 -08:00
2021-03-17 13:16:18 -07:00
2021-02-26 10:28:35 -08:00
2021-02-22 14:11:36 -08:00
2021-03-26 12:09:47 +01:00
2021-03-08 16:20:07 +05:30
2021-03-02 22:41:23 +11:00
2021-02-22 14:44:39 -08:00
2021-02-27 08:07:12 -08:00
2021-02-15 17:02:04 +01:00
2021-02-23 15:05:10 -08:00
2021-02-24 21:05:28 +05:30
2021-02-15 10:06:58 +01:00
2021-02-09 12:16:20 +01:00
2021-03-26 12:09:47 +01:00
2021-03-16 10:18:08 +01:00
2021-03-19 10:38:31 +10:00
2021-02-23 14:52:22 -08:00
2021-02-26 09:41:00 -08:00
2021-03-25 19:13:51 +00:00
2021-02-09 11:36:50 -06:00
2021-02-22 14:27:07 -08:00
2021-02-26 11:47:42 +01:00
2021-02-22 09:52:55 -08:00
2021-02-28 15:48:25 -08:00
2021-03-29 11:12:30 +01:00
2021-03-05 14:15:22 -04:00
2021-03-17 13:16:18 -07:00
2021-02-01 14:26:57 +02:00
2021-03-18 11:31:12 +01:00
2021-02-09 09:48:23 +01:00
2021-03-09 08:45:17 +00:00
2021-03-10 09:27:56 +01:00
2021-02-14 21:27:24 -07:00
2021-02-22 13:34:27 -06:00
2021-03-12 13:25:49 -08:00
2021-03-17 13:16:18 -07:00
2021-02-24 10:25:37 -08:00
2021-02-24 10:35:29 -08:00
2021-03-13 12:38:44 -08:00
2021-03-09 10:00:52 +01:00
2021-03-23 10:03:13 +01:00
2021-03-17 13:16:18 -07:00
2021-03-17 13:16:18 -07:00
2021-02-24 10:25:37 -08:00
2021-02-23 14:12:53 -06:00
2021-02-24 09:35:54 -08:00
2021-03-18 05:39:18 +01:00
2021-02-05 11:25:52 +01:00
2021-02-24 10:25:37 -08:00
2021-03-12 09:26:52 +05:30
2021-03-17 13:16:18 -07:00
2021-03-21 10:57:35 -07:00
2021-02-26 13:54:43 -08:00
2021-03-12 11:30:31 +00:00
2021-02-10 10:39:23 +01:00
2021-02-26 10:28:35 -08:00
2021-02-25 12:03:13 -08:00
2021-03-01 17:43:29 +01:00
2021-02-17 13:49:26 -08:00
2021-02-25 12:23:49 -08:00
2021-03-11 13:23:21 +00:00
2021-02-11 12:52:18 -06:00
2021-02-26 10:28:35 -08:00
2021-03-11 20:47:09 +00:00
2021-03-17 13:16:18 -07:00
2021-03-17 13:16:18 -07:00
2021-03-20 10:57:10 -07:00
2021-03-17 13:16:18 -07:00
2021-02-26 14:16:06 -08:00
2021-03-02 15:33:00 +01:00
2021-03-11 13:32:32 +00:00
2021-02-12 12:26:46 +01:00
2021-03-26 12:09:47 +01:00
2021-02-28 11:51:20 -08:00
2021-03-17 13:16:18 -07:00
2021-03-17 09:55:58 +01:00
2021-03-08 14:22:42 +03:00
2021-03-17 13:16:18 -07:00
2021-02-09 12:25:32 +01:00
2021-03-21 11:49:16 -07:00
2021-03-14 04:37:36 -04:00
2021-03-16 10:39:29 -06:00
2021-03-18 11:20:35 -07:00
2021-03-11 11:11:32 +01:00
2021-03-10 16:59:50 +01:00
2021-03-18 11:20:35 -07:00
2021-02-09 12:15:07 +01:00
2021-03-17 13:16:18 -07:00
2021-03-12 11:34:36 -08:00
2021-02-16 20:36:38 -08:00
2021-02-24 10:35:29 -08:00