Le 04/03/2011 01:59, Guenter Roeck a écrit :
On Thu, Mar 03, 2011 at 06:53:12PM -0500, Martin Peres wrote:
[ ... ]
Guenter
This is a bigger change than we initially aimed for and I didn't dare to
ask for such a heavy modification, but I'm very happy with this solution
if you prefer and support it this way.
If done right, it should be much less invasive than the previous
approach - meaning existing drivers would not have to be modified and
can be converted as time permits.
The previous solution already permitted that, but anyway, it's good to
see you welcome change.
It touched all drivers. It did not move anything out of drivers, forcing drivers
supporting the new functions to support both sysfs _and_ the new functions.
Significant difference.
The idea here - at least mine - is to move sysfs attribute management
into core hwmon code.
Guenter
oh, yes, It touched a bit every driver but I already proposed the sysfs
management
to be in the hwmon core, the advantage of the solution Matthew Garrett
proposed was
good because it allowed the transition from the old to the new API to
happen smoothly.
Anyway, I'm really interested in the solution you'll come up with, I
don't mean to say
Matthew's solution is the best possible ;)
Martin
_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors