]> git.baikalelectronics.ru Git - 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)
commite487d37f2dbbb596327413d52f3ba8bcab1c7b5b
treee08ee3ccbcc7b74c2f6bd5fb9c16509017e26df4
parentbc1f2e05c7c87f6c5b43b4555c1e286a0b989960
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