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 <linux@xxxxxxxxxxxx> > > Signed-off-by: Pawel Moll <pawel.moll@xxxxxxx> > > 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: http://thread.gmane.org/gmane.linux.kernel/1645586/focus=1645575 Let me point out that it was you who asked me to split the name and the is_visible changes into separate patches ;-) Paweł _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors