https://github.com/torvalds/linux
Revision c9be0a36f9bf392a7984473124a67a12964df11f authored by Andi Kleen on 05 January 2010, 11:47:58 UTC, committed by Greg Kroah-Hartman on 08 March 2010, 01:04:47 UTC
Passing the attribute to the low level IO functions allows all kinds
of cleanups, by sharing low level IO code without requiring
an own function for every piece of data.

Also drivers can extend the attributes with own data fields
and use that in the low level function.

Similar to sysdev_attributes and normal attributes.

This is a tree-wide sweep, converting everything in one go.

No functional changes in this patch other than passing the new
argument everywhere.

Tested on x86, the non x86 parts are uncompiled.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>


1 parent 3d03ba4
History
Tip revision: c9be0a36f9bf392a7984473124a67a12964df11f authored by Andi Kleen on 05 January 2010, 11:47:58 UTC
sysdev: Pass attribute in sysdev_class attributes show/store
Tip revision: c9be0a3
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