diff options
| author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-10-29 14:23:32 +0100 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-10-30 23:23:31 +0100 |
| commit | edd541b0fff4e38f019f92939d97e5a604f80a23 (patch) | |
| tree | 03b5e6a37c885289636a468c0110b1aa79ba4df3 /scripts/basic/split-include.c | |
| parent | 67b3eadfb80dee4dfd56ca624f33e2ac7ed5987a (diff) | |
| download | linux-edd541b0fff4e38f019f92939d97e5a604f80a23.tar.gz linux-edd541b0fff4e38f019f92939d97e5a604f80a23.zip | |
rtc: ds1685: use sysfs_emit() instead of sprintf()
Use sysfs_emit() instead of sprintf() in sysfs show callbacks
(ds1685_rtc_sysfs_battery_show, ds1685_rtc_sysfs_auxbatt_show and
ds1685_rtc_sysfs_serial_show) to conform to the recommended sysfs
attribute formatting guidelines in
Documentation/filesystems/sysfs.rst.
Acked-by: Joshua Kinard <linux@kumba.dev>
Link: https://patch.msgid.link/20261029132339.925021-9-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
