android_kernel_xiaomi_sm8350/drivers/base
Magnus Damm 783ea7d4ee Driver Core: Rework platform suspend/resume, print warning
This patch reworks the platform driver code for legacy
suspend and resume to avoid installing callbacks in
struct device_driver. A warning is also added telling
users to update the platform driver to use dev_pm_ops.

The functions platform_legacy_suspend()/resume() directly
call suspend and resume callbacks in struct platform_driver
instead of wrapping things in platform_drv_suspend()/resume().

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2009-06-12 21:32:32 +02:00
..
power PM: Remove device_type suspend()/resume() 2009-06-12 21:32:32 +02:00
attribute_container.c
base.h driver core: fix driver_match_device 2009-04-16 16:17:09 -07:00
bus.c Driver Core: do not oops when driver_unregister() is called for unregistered drivers 2009-05-28 14:24:07 -07:00
class.c
core.c Driver Core: do not oops when driver_unregister() is called for unregistered drivers 2009-05-28 14:24:07 -07:00
cpu.c cpumask: use new cpumask_ functions in core code. 2009-03-30 22:05:16 +10:30
dd.c driver synchronization: make scsi_wait_scan more advanced 2009-04-21 19:40:00 -07:00
devres.c
dma-mapping.c
driver.c Driver Core: do not oops when driver_unregister() is called for unregistered drivers 2009-05-28 14:24:07 -07:00
firmware_class.c firmware: speed up request_firmware(), v3 2009-05-15 12:51:29 +01:00
firmware.c
hypervisor.c
init.c
iommu.c drivers/base/iommu.c: add missing includes 2009-05-06 16:36:10 -07: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
Makefile
map.c
memory.c
module.c
node.c cpumask: replace node_to_cpumask with cpumask_of_node. 2009-03-13 14:49:46 +10:30
platform.c Driver Core: Rework platform suspend/resume, print warning 2009-06-12 21:32:32 +02:00
sys.c PM: Warn if interrupts are enabled during suspend-resume of sysdevs 2009-06-12 21:32:29 +02:00
topology.c
transport_class.c