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
Raw File
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
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
back to top