1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-17 03:50:37 +00:00
Michael Walle 1ad6c3b7ef 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>
2022-05-17 05:52:59 -07:00
..
2022-04-01 09:37:18 -07:00
2022-04-16 21:57:00 +02:00
2022-03-30 10:36:41 -07:00
2022-03-25 13:56:18 -07:00
2022-03-24 13:13:26 -07:00
2022-03-25 13:35:34 -07:00
2022-03-23 19:58:38 +01:00
2022-03-25 13:35:34 -07:00
2022-03-25 12:14:39 -07:00
2022-03-26 11:51:46 -07:00
2022-03-17 20:17:18 -07:00
2022-03-11 19:15:03 -08:00
2022-03-31 11:43:01 -07:00
2022-03-24 13:13:26 -07:00
2022-03-15 10:32:44 +01:00
2022-03-24 19:37:53 -07:00
2022-03-28 17:29:53 -07:00
2022-03-16 15:13:36 -07:00
2022-04-01 14:40:44 -04:00
2022-04-03 12:26:01 -07:00
2022-04-07 09:43:41 -04:00
2022-05-17 05:52:59 -07:00
2022-03-02 22:44:49 -08:00
2022-02-28 23:26:27 -08:00
2022-03-15 08:23:29 -04:00
2022-02-28 13:25:49 +01:00
2022-03-22 18:26:56 -07:00
2022-03-18 09:47:04 +01:00
2022-03-23 14:35:59 -07:00
2022-03-21 12:57:38 -04:00
2022-03-22 17:03:12 -07:00
2022-03-22 17:03:12 -07:00
2022-04-01 14:40:44 -04:00
2022-03-29 18:55:37 -07:00
2022-03-29 18:55:37 -07:00
2022-04-01 16:26:57 -07:00
2022-03-24 19:06:45 -07:00
2022-04-01 13:45:08 -04:00
2022-03-25 13:02:05 -07:00
2022-04-19 10:19:02 -07:00
2022-03-28 17:29:53 -07:00
2022-03-21 14:00:56 -07:00
2022-03-08 14:33:36 -06:00
2022-03-17 20:16:29 -07:00
2022-03-23 19:58:41 +01:00
2022-03-23 12:33:21 -07:00
2022-04-11 19:18:27 -06:00
2022-03-22 15:57:11 -07:00
2022-03-24 13:13:26 -07:00
2022-03-23 18:03:08 -07:00
2022-03-28 16:53:00 -04:00
2022-04-01 13:40:44 -07:00