Rafael J. Wysocki
cb8f51bdad
PM: Do not create wakeup sysfs files for devices that cannot wake up
...
Currently, wakeup sysfs attributes are created for all devices,
regardless of whether or not they are wakeup-capable. This is
excessive and complicates wakeup device identification from user
space (i.e. to identify wakeup-capable devices user space has to read
/sys/devices/.../power/wakeup for all devices and see if they are not
empty).
Fix this issue by avoiding to create wakeup sysfs files for devices
that cannot wake up the system from sleep states (i.e. whose
power.can_wakeup flags are unset during registration) and modify
device_set_wakeup_capable() so that it adds (or removes) the relevant
sysfs attributes if a device's wakeup capability status is changed.
Signed-off-by: Rafael J. Wysocki <[email protected] >
2011-03-15 00:43:14 +01:00
..
power
PM: Do not create wakeup sysfs files for devices that cannot wake up
2011-03-15 00:43:14 +01:00
attribute_container.c
[SCSI] attirbute_container: Initialize sysfs attributes with sysfs_attr_init
2010-03-27 15:15:24 -04:00
base.h
driver-core: merge private parts of class and bus
2010-11-17 14:21:08 -08:00
bus.c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2011-01-13 10:05:56 -08:00
class.c
driver-core: merge private parts of class and bus
2010-11-17 14:21:08 -08:00
core.c
Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
2011-01-10 16:10:33 -08:00
cpu.c
drivers/base/cpu.c: fix the output from /sys/devices/system/cpu/offline
2010-05-21 09:37:28 -07:00
dd.c
Driver core: Add BUS_NOTIFY_BIND_DRIVER
2010-08-05 13:53:35 -07:00
devres.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
devtmpfs.c
convert get_sb_single() users
2010-10-29 04:16:28 -04:00
dma-coherent.c
Driver core: internal struct dma_coherent_mem, change type of a member.
2010-08-05 13:53:33 -07:00
dma-mapping.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
driver.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
firmware.c
firmware_class.c
firmware_class: fix typo in error path
2010-08-23 18:12:46 -07:00
hypervisor.c
init.c
Driver Core: devtmpfs - kernel-maintained tmpfs-based /dev
2009-09-15 09:50:49 -07:00
iommu.c
iommu-api: Remove iommu_{un}map_range functions
2010-03-07 18:01:13 +01:00
isa.c
dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24)
2009-04-07 08:31:12 -07:00
Kconfig
kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT
2011-01-20 17:02:05 -08:00
Makefile
driver-core: base: change to new flag variable
2010-10-22 10:16:44 -07:00
map.c
memory.c
Driver core: Add section count to memory_block struct
2010-10-22 10:16:44 -07:00
module.c
driver core: module.c: Use kasprintf
2010-05-21 09:37:29 -07:00
node.c
thp: transparent hugepage sysfs meminfo
2011-01-13 17:32:46 -08:00
platform.c
Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6
2010-10-25 08:19:14 -07:00
sys.c
driver core: Display error codes when class suspend fails
2010-10-22 10:16:44 -07:00
topology.c
topology/sysfs: Provide book id and siblings attributes
2010-09-09 20:41:25 +02:00
transport_class.c