android_kernel_xiaomi_sm8350/drivers/acpi
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 <tom.leiming@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-24 16:38:26 -07:00
..
acpica Merge branches 'release', 'asus', 'bugzilla-12450', 'cpuidle', 'debug', 'ec', 'misc', 'printk' and 'processor' into release 2009-02-07 01:34:56 -05:00
ac.c
acpi_memhotplug.c
battery.c battery: don't assume we are fully charged when not charging or discharging 2009-02-21 12:36:19 -05:00
blacklist.c
bus.c ACPI: remove doubled status checking 2009-03-16 00:35:30 -04:00
button.c
cm_sbs.c
container.c ACPI: add missing KERN_* constants to printks 2009-02-07 00:29:32 -05:00
debug.c
dock.c Driver core: implement uevent suppress in kobject 2009-03-24 16:38:26 -07:00
ec.c ACPI: EC: Add delay for slow MSI controller 2009-02-21 12:18:13 -05:00
event.c
fan.c
glue.c ACPI: struct device - replace bus_id with dev_name(), dev_set_name() 2009-02-07 00:41:13 -05:00
Kconfig ACPI: remove CONFIG_ACPI_SYSTEM 2009-02-21 21:59:56 -05:00
Makefile ACPI: remove CONFIG_ACPI_SYSTEM 2009-02-21 21:59:56 -05:00
numa.c acpi: check for pxm_to_node_map overflow 2009-03-16 00:35:30 -04:00
osl.c Revert "ACPI: make some IO ports off-limits to AML" 2009-03-16 00:35:29 -04:00
pci_bind.c
pci_irq.c
pci_link.c ACPI: add missing KERN_* constants to printks 2009-02-07 00:29:32 -05:00
pci_root.c
pci_slot.c
power.c
proc.c
processor_core.c
processor_idle.c ACPI: delete CPU_IDLE=n code 2009-02-06 12:34:39 -05:00
processor_perflib.c ACPI: cpufreq: Remove deprecated /proc/acpi/processor/../performance proc entries 2009-02-04 00:12:24 -05:00
processor_thermal.c
processor_throttling.c
reboot.c
sbs.c
sbshc.c
sbshc.h
scan.c
sleep.c ACPI suspend: Blacklist Toshiba Satellite L300 that requires to set SCI_EN directly on resume 2009-03-16 00:35:29 -04:00
sleep.h
system.c
tables.c ACPI: disable ACPI cleanly when bad RSDP found 2009-02-06 14:00:56 -05:00
thermal.c thermal fixup for broken BIOS which has invalid trip points. 2009-01-16 14:13:12 -05:00
utils.c
video_detect.c
video.c Merge branches 'release', 'asus', 'bugzilla-12450', 'cpuidle', 'debug', 'ec', 'misc', 'printk' and 'processor' into release 2009-02-07 01:34:56 -05:00
wakeup.c