Re: [PATCH] gpio: sim: Replace sprintf() with sysfs_emit()

From: Bartosz Golaszewski

Date: Mon Apr 27 2026 - 04:01:36 EST


On Sat, Apr 25, 2026 at 12:22 AM Maxwell Doose <m32285159@xxxxxxxxx> wrote:
>
> Replace sprintf() function calls with sysfs_emit() in the configfs show
> callbacks. This will help harden the driver and will bring the driver
> up-to-date with more modern functions.
>
> Suggested-by: Bartosz Golaszewski <brgl@xxxxxxxxxx>
> Signed-off-by: Maxwell Doose <m32285159@xxxxxxxxx>
> ---
> drivers/gpio/gpio-sim.c | 22 +++++++++++-----------
> 1 file changed, 11 insertions(+), 11 deletions(-)
>

Hi! This no longer applies on top of v7.1-rc1. Please rebase and resend.

Bartosz