> 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 :-). I was thinking of modifying the DEVICE_ATTRIBUTE macro to set the void * pointer too, but decided against it for the moment... Yani