Re: [PATCH v4 1/2] hwmon: introduce hwmon_sanitize_name()

From: Guenter Roeck
Date: Fri Apr 08 2022 - 11:42:56 EST


On Tue, Apr 05, 2022 at 11:24:51AM +0200, Michael Walle wrote:
> More and more drivers will check for bad characters in the hwmon name
> and all are using the same code snippet. Consolidate that code by adding
> a new hwmon_sanitize_name() function.
>
> Signed-off-by: Michael Walle <michael@xxxxxxxx>
> Reviewed-by: Tom Rix <trix@xxxxxxxxxx>

Applied to hwmon-next.

Thanks,
Guenter