https://github.com/torvalds/linux
Revision c843b382e61b5f28a3d917712c69a344f632387c authored by Sascha Hauer on 17 April 2020, 09:28:53 UTC, committed by Guenter Roeck on 18 April 2020, 17:13:07 UTC
The jc42 driver passes I2C client's name as hwmon device name. In case
of device tree probed devices this ends up being part of the compatible
string, "jc-42.4-temp". This name contains hyphens and the hwmon core
doesn't like this:

jc42 2-0018: hwmon: 'jc-42.4-temp' is not a valid name attribute, please fix

This changes the name to "jc42" which doesn't have any illegal
characters.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20200417092853.31206-1-s.hauer@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 0e786f3
History
Tip revision: c843b382e61b5f28a3d917712c69a344f632387c authored by Sascha Hauer on 17 April 2020, 09:28:53 UTC
hwmon: (jc42) Fix name to have no illegal characters
Tip revision: c843b38
File Mode Size
apparmor
bpf
integrity
keys
loadpin
lockdown
safesetid
selinux
smack
tomoyo
yama
Kconfig -rw-r--r-- 10.7 KB
Kconfig.hardening -rw-r--r-- 7.9 KB
Makefile -rw-r--r-- 1.3 KB
commoncap.c -rw-r--r-- 38.9 KB
device_cgroup.c -rw-r--r-- 20.8 KB
inode.c -rw-r--r-- 10.6 KB
lsm_audit.c -rw-r--r-- 10.7 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 61.8 KB

back to top