]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Driver core: change device_attribute callbacks
authorYani Ioannou <yani.ioannou@gmail.com>
Tue, 17 May 2005 10:39:34 +0000 (06:39 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:31 +0000 (15:15 -0700)
commitce3a8fb93beb623b7097a84260c801c842d94ceb
tree321d08c397bc26b49c706ca5b86de7003c2329c0
parentba69dbea03913fdb8c47fb90c67f8b96287190e1
[PATCH] Driver core: change device_attribute callbacks

This patch adds the device_attribute paramerter to the
device_attribute store and show sysfs callback functions, and passes a
reference to the attribute when the callbacks are called.

Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c
include/linux/device.h