[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)
commit54b6f35c99974e99e64c05c2895718355123c55f
tree321d08c397bc26b49c706ca5b86de7003c2329c0
parentca2b94ba12f3c36fd3d6ed9d38b3798d4dad0d8b
[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