]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
hwmon: (vexpress) Use legal hwmon device names
authorPawel Moll <pawel.moll@arm.com>
Wed, 23 Apr 2014 17:27:04 +0000 (18:27 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 24 Apr 2014 13:01:59 +0000 (06:01 -0700)
commit52feaca5d685c07a4bc9812d16d84f5f7991bfe7
treee08ee3ccbcc7b74c2f6bd5fb9c16509017e26df4
parenta798c10faf62a505d24e5f6213fbaf904a39623f
hwmon: (vexpress) Use legal hwmon device names

The driver used to directly us a DT 'compatible' property for
the 'name' attribute of the hwmon devices. Unfortunately it
contains '-' which is illegal in this context. It messes up
libsensors and thus every application using it.

Fixed by providing equivalent (and simpler) name strings.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/vexpress.c