[PATCH 2.6.12-rc4 1/3] (dynamic sysfs callbacks) device_attribute

Yani Ioannou yani.ioannou at gmail.com
Wed May 11 09:56:55 CEST 2005


This patch adds support to the sysfs device_attribute to pass the new
void * attribute member to it's callback functions. The device
attribute will benefit the most from the dynamic sysfs callback patch
compared to the other attributes simply because of it's greater usage.

The first patch simply adds the void * parameter to the device
attribute function types and passes them when calling the callbacks.

Signed-off-by: Yani Ioannou <yani.ioannou at gmail.com>


 drivers/base/core.c    |    4 ++--
 include/linux/device.h |    5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr.diff
Type: text/x-patch
Size: 1629 bytes
Desc: not available
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050511/d6eab251/attachment.bin>

More information about the lm-sensors mailing list