summaryrefslogtreecommitdiffstats
path: root/drivers/misc/hpilo.c
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2008-07-01 18:48:42 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-22 06:55:02 +0200
commit9800794ac11d4646384b3a310dfd1fe2eed577bf (patch)
treee52c9c91d636c2d3e7891e4edee7e50f1a1ea5d1 /drivers/misc/hpilo.c
parentsysdev: Pass the attribute to the low level sysdev show/store function (diff)
downloadlinux-9800794ac11d4646384b3a310dfd1fe2eed577bf.tar.xz
linux-9800794ac11d4646384b3a310dfd1fe2eed577bf.zip
sysdev: Add utility functions for simple int/ulong variable sysdev attributes
This adds a new sysdev_ext_attribute that stores a pointer to the variable it manages and some utility functions/macro to easily use them. Previously all users wrote custom macros to generate show/store functions for each variable, with this it is possible to avoid that in many cases. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/misc/hpilo.c')
0 files changed, 0 insertions, 0 deletions