sysdev: Add utility functions for simple int/ulong variable sysdev attributes
authorAndi Kleen <andi@firstfloor.org>
Tue, 1 Jul 2008 16:48:42 +0000 (18:48 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:55:02 +0000 (21:55 -0700)
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>

No differences found