On Sat, Jul 06, 2013 at 09:54:58PM +0200, Jean Delvare wrote: > On Sat, 6 Jul 2013 12:31:42 -0700, Greg Kroah-Hartman wrote: > > On Sat, Jul 06, 2013 at 12:18:16PM -0700, Guenter Roeck wrote: > > > Yes, and I tested it with the new nct6775 driver to make sure that it works. > > > The i2c and spi drivers need some more work, though - the name attribute is > > > now missing and will have to be created for the hwmon device itself. If you have > > > an idea how to do that without adding it in every driver, please let me know. > > > > Why do you need a name attribute at all? Shouldn't that just be the > > name of the device, or the parent? > > libsensors expects the hwmon attributes and the name attribute at the > same place. > > > Can you make the name be part of the groups always? > > Sounds good, but then we have to make the hwmon core handles it. So far > each driver (or its bus type subsystem) was responsible for it. > A quick scan suggests this affects some 50+ drivers, which all implement the name attribute. On the downside a lot of work, on the upside there will be lots of removed code. > -- > Jean Delvare > _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors