[RFC PATCH 2.6.12-rc3] dynamic driver sysfs callbacks and RFC on bmcsensor rewrite

Greg KH greg at kroah.com
Thu Apr 28 19:39:09 CEST 2005

On Thu, Apr 28, 2005 at 01:25:29PM -0400, Yani Ioannou wrote:
> > My question is, please show me how you propagate this out to the driver
> > core code, so that the drivers that use the DEVICE_ATTRIBUTE() stuff can
> > take advantage of this.
> > 
> > thanks,
> > 
> > greg k-h
> > 
> Well bmcsensors (before this patch) was creating device attributes
> like the other chip drivers, just not explicitly using the
> DEVICE_ATTRIBUTE macro, however I can easily modify one of the other
> sensor chip drivers to show you how they might take advantage of this
> if that what you are looking for? I'll probably have to do it tonight
> after I get home though :-).

Yes, that is what I was looking for.


greg k-h

More information about the lm-sensors mailing list