diff options
author | ye xingchen <ye.xingchen@zte.com.cn> | 2022-12-01 06:56:31 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-12-28 20:19:45 +0300 |
commit | f9e51aacc740935bd0201565e040fd7b36f645aa (patch) | |
tree | 4426fa430947ec63bfe6591aad4043d8813c5760 /drivers/iio/pressure | |
parent | 7ae267954af798f51985629dc795fba616af37cd (diff) | |
download | linux-f9e51aacc740935bd0201565e040fd7b36f645aa.tar.xz |
iio: common: scmi_iio: use sysfs_emit() to instead of scnprintf()
Replace the open-code with sysfs_emit() to simplify the code.
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202212011156314630626@zte.com.cn
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/pressure')
0 files changed, 0 insertions, 0 deletions