From: Guenter Roeck Date: Thu, 24 Apr 2014 13:15:39 +0000 Subject: Re: [lm-sensors] [PATCH 1/2] hwmon: vexpress: Use legal hwmon device names Message-Id: <53590E7B.2080001@roeck-us.net> List-Id: References: <1398274025-13618-2-git-send-email-pawel.moll@arm.com> In-Reply-To: <1398274025-13618-2-git-send-email-pawel.moll@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org On 04/24/2014 01:34 AM, Pawel Moll wrote: > On Wed, 2014-04-23 at 19:16 +0100, Guenter Roeck wrote: >> On Wed, Apr 23, 2014 at 06:27:04PM +0100, Pawel Moll wrote: >>> 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 >>> Signed-off-by: Pawel Moll >> >> Hi Pawel, >> >> can you use hwmon_device_register_with_groups() to register >> the hwmon device ? This would take care of the name attribute. > > I have a third patch doing exactly this (well, using devm_* version), > but it's not a fix, so I'll post it separately. The previous version of > it is here: > Ok, makes sense. Both patches applied and currently testing. Thanks, Guenter _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors