diff options
author | Alisa Roman <alisa.roman@analog.com> | 2023-06-20 19:31:35 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-07-20 19:21:30 +0100 |
commit | 1cbf2c4bea7860e3bbd4ac1031d7a13ccebe0057 (patch) | |
tree | ddc125ad7dcea44aa8cf0c33308f143d29fd4a03 /Documentation/devicetree/bindings/iio/adc | |
parent | e85f46433a80e24d37c62977ce1c2c8b2f4f220a (diff) |
iio: adc: ad7192: Use sysfs_emit_at
Replace scnprintf with sysfs_emit_at which is the preferred alternative.
Also make sure each fractional digit is in its place by padding with
zeros up to 3 digits: "...%03d...".
Signed-off-by: Alisa Roman <alisa.roman@analog.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20230620163135.93780-1-alisa.roman@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/adc')
0 files changed, 0 insertions, 0 deletions