Home
last modified time | relevance | path

Searched hist:"1 ad6c3b7ef132e1d8c5d606008069724625c8daf" (Results 1 – 3 of 3) sorted by relevance

/linux/Documentation/hwmon/
H A Dhwmon-kernel-api.rstdiff 1ad6c3b7ef132e1d8c5d606008069724625c8daf Tue Apr 05 11:24:51 CEST 2022 Michael Walle <michael@walle.cc> hwmon: introduce hwmon_sanitize_name()

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@walle.cc>
Reviewed-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220405092452.4033674-2-michael@walle.cc
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
/linux/include/linux/
H A Dhwmon.hdiff 1ad6c3b7ef132e1d8c5d606008069724625c8daf Tue Apr 05 11:24:51 CEST 2022 Michael Walle <michael@walle.cc> hwmon: introduce hwmon_sanitize_name()

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@walle.cc>
Reviewed-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220405092452.4033674-2-michael@walle.cc
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
/linux/drivers/hwmon/
H A Dhwmon.cdiff 1ad6c3b7ef132e1d8c5d606008069724625c8daf Tue Apr 05 11:24:51 CEST 2022 Michael Walle <michael@walle.cc> hwmon: introduce hwmon_sanitize_name()

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@walle.cc>
Reviewed-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220405092452.4033674-2-michael@walle.cc
Signed-off-by: Guenter Roeck <linux@roeck-us.net>