Re: [PATCH] hwmon: (hih6130) Replace sprintf() with sysfs_emit()
From: Guenter Roeck
Date: Tue Sep 08 2026 - 12:23:44 EST
On Mon, Sep 07, 2026 at 12:35:02AM +0200, Massinissa Ghoul wrote:
> From: Massinissa Ghoul <massigh680@xxxxxxxxx>
>
> Use sysfs_emit() instead of sprintf() in the sysfs show functions
> hih6130_temperature_show() and hih6130_humidity_show() to use the
> preferred kernel interface for writing to sysfs buffers.
>
> No functional change intended.
>
> Note: Not runtime tested due to lack of hardware.
>
> Signed-off-by: Massinissa Ghoul <massigh680@xxxxxxxxx>
Applied.
Thanks,
Guenter