https://github.com/torvalds/linux
Revision 869dfc875e32fd832385fd52ce54525a10401ed6 authored by Andi Kleen on 05 January 2010, 11:48:08 UTC, committed by Greg Kroah-Hartman on 08 March 2010, 01:04:48 UTC
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>

1 parent 28812fe
History
Tip revision: 869dfc875e32fd832385fd52ce54525a10401ed6 authored by Andi Kleen on 05 January 2010, 11:48:08 UTC
driver core: Add class_attr_string for simple read-only string
Tip revision: 869dfc8
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 849 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 164.1 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top