Ming Lei
f67f129e51
Driver core: implement uevent suppress in kobject
...
This patch implements uevent suppress in kobject and removes it
from struct device, based on the following ideas:
1,Uevent sending should be one attribute of kobject, so suppressing it
in kobject layer is more natural than in device layer. By this way,
we can do it for other objects embedded with kobject.
2,It may save several bytes for each instance of struct device.(On my
omap3(32bit ARM) based box, can save 8bytes per device object)
This patch also introduces dev_set|get_uevent_suppress() helpers to
set and query uevent_suppress attribute in case to help kobject
as private part of struct device in future.
[This version is against the latest driver-core patch set of Greg,please
ignore the last version.]
Signed-off-by: Ming Lei <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2009-03-24 16:38:26 -07:00
..
accessibility
acpi
Driver core: implement uevent suppress in kobject
2009-03-24 16:38:26 -07:00
amba
ata
atm
auxdisplay
base
Driver core: implement uevent suppress in kobject
2009-03-24 16:38:26 -07:00
block
platform: make better use of to_platform_{device,driver}() macros
2009-03-24 16:38:24 -07:00
bluetooth
cdrom
char
vcs: hook sysfs devices into object lifetime instead of "binding"
2009-03-24 16:38:26 -07:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dio: struct device - replace bus_id with dev_name(), dev_set_name()
2009-03-24 16:38:22 -07:00
dma
dma: struct device - replace bus_id with dev_name(), dev_set_name()
2009-03-24 16:38:22 -07:00
edac
eisa
eisa: struct device - replace bus_id with dev_name(), dev_set_name()
2009-03-24 16:38:22 -07:00
firewire
firmware
gpio
gpio: struct device - replace bus_id with dev_name(), dev_set_name()
2009-03-24 16:38:23 -07:00
gpu
hid
hwmon
i2c
Driver core: implement uevent suppress in kobject
2009-03-24 16:38:26 -07:00
ide
platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver'
2009-03-24 16:38:25 -07:00
idle
ieee1394
infiniband
input
isdn
platform: make better use of to_platform_{device,driver}() macros
2009-03-24 16:38:24 -07:00
leds
lguest
macintosh
mca
mca: struct device - replace bus_id with dev_name(), dev_set_name()
2009-03-24 16:38:23 -07:00
md
media
memstick
message
mfd
mfd: struct device - replace bus_id with dev_name(), dev_set_name()
2009-03-24 16:38:23 -07:00
misc
mmc
mtd
platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver'
2009-03-24 16:38:25 -07:00
net
platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver'
2009-03-24 16:38:25 -07:00
nubus
of
oprofile
parisc
parport
pci
pcmcia
platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver'
2009-03-24 16:38:25 -07:00
platform
pnp
power
ps3
rapidio
regulator
rtc
s390
Driver core: implement uevent suppress in kobject
2009-03-24 16:38:26 -07:00
sbus
scsi
scsi/m68k: Kill NCR_700_detect() warnings
2009-03-24 16:38:25 -07:00
serial
sh
sn
spi
ssb
staging
tc
telephony
thermal
uio
UIO: Take offset into account when determining number of pages that can be mapped
2009-03-24 16:38:25 -07:00
usb
USB: FHCI: use dev_name() in place of bus_id.
2009-03-24 16:38:23 -07:00
uwb
video
platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver'
2009-03-24 16:38:25 -07:00
virtio
w1
watchdog
platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver'
2009-03-24 16:38:25 -07:00
xen
zorro
Kconfig
Makefile