Re: [PATCH v2 1/3] staging: iio: ad7816: use sysfs_emit() in show functions
From: Jonathan Cameron
Date: Sat Mar 21 2026 - 09:13:38 EST
On Fri, 20 Mar 2026 22:24:22 +0000
Gabriel Rondon <grondon@xxxxxxxxx> wrote:
> Replace sprintf() with sysfs_emit() in all sysfs attribute show
> functions. sysfs_emit() is the preferred API for sysfs callbacks as
> it is aware of the PAGE_SIZE buffer limit. No functional change.
>
> Signed-off-by: Gabriel Rondon <grondon@xxxxxxxxx>
Always worth a quick check to see if you are overlapping with a series
that might be on the list or already applied.
In this case:
https://lore.kernel.org/all/20260301212819.98597-1-ehanoc@xxxxxxxxxxxxxx/