git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28812fe
)
driver core: Add class_attr_string for simple read-only string
author
Andi Kleen
<andi@firstfloor.org>
Tue, 5 Jan 2010 11:48:08 +0000
(12:48 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 8 Mar 2010 01:04:48 +0000
(17:04 -0800)
Several drivers just export a static string as class attributes.
Use the new extensible attribute support to define a simple
CLASS_ATTR_STRING() macro for this.
This will allow to remove code from drivers in followon patches.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found