1
linux/drivers
Andi Kleen c9be0a36f9 sysdev: Pass attribute in sysdev_class attributes show/store
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>
2010-03-07 17:04:47 -08:00
..
accessibility
acpi Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq 2010-03-07 12:52:38 -08:00
amba
ata
atm
auxdisplay
base sysdev: Pass attribute in sysdev_class attributes show/store 2010-03-07 17:04:47 -08:00
block
bluetooth
cdrom
char Merge git://git.kernel.org/pub/scm/linux/kernel/git/amit/virtio-console 2010-03-07 16:04:03 -08:00
clocksource MFGPT: move clocksource menu 2010-03-06 11:26:28 -08:00
connector
cpufreq
cpuidle sysdev: Pass attribute in sysdev_class attributes show/store 2010-03-07 17:04:47 -08:00
crypto
dca
dio
dma Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 2010-03-07 15:47:19 -08:00
edac
eisa eisa: fix coding style for eisa bus code 2010-03-06 11:26:32 -08:00
firewire
firmware memory-hotplug: create /sys/firmware/memmap entry for new memory 2010-03-06 11:26:25 -08:00
gpio mfd: Fix lpc_sch related depends/selects, fix build error 2010-03-07 22:17:38 +01:00
gpu Revert "lib: build list_sort() only if needed" 2010-03-07 09:54:44 -08:00
hid
hwmon Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging 2010-03-06 11:33:09 -08:00
i2c Merge branch 'for-linus/i2c' of git://git.fluff.org/bjdooks/linux 2010-03-07 15:56:25 -08:00
ide Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-next-2.6 2010-03-04 08:24:06 -08:00
idle
ieee1394
ieee802154
infiniband infiniband: use for_each_set_bit() 2010-03-06 11:26:23 -08:00
input input: Support onkey in 88pm860x 2010-03-07 22:17:20 +01:00
isdn
leds led: Enable led in 88pm860x 2010-03-07 22:17:05 +01:00
lguest
macintosh
mca
md dm raid1: fix deadlock when suspending failed device 2010-03-06 02:32:35 +00:00
media
memstick
message
mfd mfd: Fix ucb1x00 build failure for collie_defconfig 2010-03-07 22:17:39 +01:00
misc lkdtm: add debugfs access and loosen KPROBE ties 2010-03-06 11:26:32 -08:00
mmc mfd/mmc: SDHI Kconfig update 2010-03-07 22:17:32 +01:00
mtd Merge git://git.infradead.org/ubi-2.6 2010-03-06 11:30:18 -08:00
net bitops: rename for_each_bit() to for_each_set_bit() 2010-03-06 11:26:23 -08:00
nubus
of
oprofile
parisc parisc: remove trailing space in messages 2010-03-06 22:54:09 +00:00
parport
pci Merge branch 'x86-mrst-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2010-03-07 15:59:39 -08:00
pcmcia
platform
pnp
power power_supply: Enable power supply of max8925 2010-03-07 22:17:17 +01:00
pps
ps3
rapidio
regulator regulator: Add max8925 support 2010-03-07 22:17:08 +01:00
rtc rtc: Enable rtc in max8925 2010-03-07 22:17:16 +01:00
s390
sbus
scsi
serial Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 2010-03-07 15:47:19 -08:00
sfi
sh
sn
spi
ssb
staging Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2010-03-07 15:49:12 -08:00
tc
telephony
thermal
uio
usb USB: remove unused defintion of struct usb_device_status 2010-03-07 12:51:52 -08:00
uwb
vhost
video backlight: Enable max8925 backlight 2010-03-07 22:17:08 +01:00
virtio
vlynq
w1
watchdog
xen xen: add kconfig menu 2010-03-06 11:26:46 -08:00
zorro
Kconfig MFGPT: move clocksource menu 2010-03-06 11:26:28 -08:00
Makefile