]> 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)
commitf25cb3e3a9c1d1cae92de424f0465aaa1b28d830
treee08ee3ccbcc7b74c2f6bd5fb9c16509017e26df4
parent480ecc916679014c8b1cad0f42ff0dbbc2b461b8
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