Re: [PATCH linux-next] rtc: ds1307: use sysfs_emit() to instead of scnprintf()

From: Alexandre Belloni
Date: Mon Dec 12 2022 - 18:55:38 EST


On Mon, 5 Dec 2022 11:34:45 +0800 (CST), ye.xingchen@xxxxxxxxxx wrote:
> From: ye xingchen <ye.xingchen@xxxxxxxxxx>
>
> Follow the advice of the Documentation/filesystems/sysfs.rst and show()
> should only use sysfs_emit() or sysfs_emit_at() when formatting the
> value to be returned to user space.
>
>
> [...]

Applied, thanks!

[1/1] rtc: ds1307: use sysfs_emit() to instead of scnprintf()
commit: 20ff2be9cf5c1951e5a14e570129cf118039a25a

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com