linux/drivers/w1/slaves
zhangheng 419a40cc2b w1: core: use sysfs_emit() instead of sprintf()
Follow the advice in Documentation/filesystems/sysfs.rst:
show() should only use sysfs_emit() or sysfs_emit_at() when formatting
the value to be returned to user space.

Signed-off-by: zhangheng <zhangheng@kylinos.cn>
Link: https://lore.kernel.org/r/20241220102337.295864-1-zhangheng@kylinos.cn
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2024-12-22 15:42:15 +01:00
..
Kconfig w1: Fix Kconfig indentation 2023-05-08 08:14:50 +02:00
Makefile w1: new driver. DS2430 chip 2019-11-14 13:06:33 +08:00
w1_ds28e04.c w1: ds28e04: Constify 'struct bin_attribute' 2024-12-14 11:06:34 +01:00
w1_ds28e17.c w1: core: use sysfs_emit() instead of sprintf() 2024-12-22 15:42:15 +01:00
w1_ds250x.c nvmem: add explicit config option to read old syntax fixed OF cells 2023-10-21 19:19:06 +02:00
w1_ds2405.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2406.c w1: ds2406: Constify 'struct bin_attribute' 2024-12-14 11:06:15 +01:00
w1_ds2408.c w1: ds2408: Constify 'struct bin_attribute' 2024-12-14 11:06:22 +01:00
w1_ds2413.c w1: ds2413: Constify 'struct bin_attribute' 2024-12-14 11:06:25 +01:00
w1_ds2423.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2430.c w1: ds2430: Constify 'struct bin_attribute' 2024-12-14 11:06:26 +01:00
w1_ds2431.c w1: ds2431: Constify 'struct bin_attribute' 2024-12-14 11:06:26 +01:00
w1_ds2433.c w1: ds2433: Constify 'struct bin_attribute' 2024-12-14 11:06:27 +01:00
w1_ds2438.c w1: ds2438: Constify 'struct bin_attribute' 2024-12-14 11:06:32 +01:00
w1_ds2780.c w1: ds2780: Constify 'struct bin_attribute' 2024-12-14 11:06:33 +01:00
w1_ds2780.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
w1_ds2781.c w1: ds2781: Constify 'struct bin_attribute' 2024-12-14 11:06:33 +01:00
w1_ds2781.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
w1_ds2805.c w1: ds2805: Constify 'struct bin_attribute' 2024-12-14 11:06:33 +01:00
w1_smem.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 94 2019-05-24 17:37:53 +02:00
w1_therm.c w1: therm: constify pointers to hwmon_channel_info 2023-05-08 12:16:38 +02:00