android_kernel_xiaomi_sm8350/drivers/i2c/chips
Rafael J. Wysocki a3d25c275d PM: Separate hibernation code from suspend code
[ With Johannes Berg <johannes@sipsolutions.net> ]

Separate the hibernation (aka suspend to disk code) from the other suspend
code.  In particular:

 * Remove the definitions related to hibernation from include/linux/pm.h
 * Introduce struct hibernation_ops and a new hibernate() function to hibernate
   the system, defined in include/linux/suspend.h
 * Separate suspend code in kernel/power/main.c from hibernation-related code
   in kernel/power/disk.c and kernel/power/user.c (with the help of
   hibernation_ops)
 * Switch ACPI (the only user of pm_ops.pm_disk_mode) to hibernation_ops

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Greg KH <greg@kroah.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Nigel Cunningham <nigel@nigel.suspend2.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:48 -07:00
..
ds1337.c i2c: fix broken ds1337 initialization 2006-12-10 21:21:31 +01:00
ds1374.c i2c/ds1374: Check workqueue creation status 2007-03-22 19:49:01 +01:00
eeprom.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
isp1301_omap.c USB: <linux/usb_ch9.h> becomes <linux/usb/ch9.h> 2007-02-07 15:44:32 -08:00
Kconfig Use menuconfig objects - I2C 2007-05-01 23:26:34 +02:00
m41t00.c i2c/m41t00: Do not forget to write year 2007-01-05 17:54:05 +01:00
Makefile
max6875.c i2c: __must_check fixes (chip drivers) 2006-09-26 15:38:51 -07:00
pca9539.c i2c: __must_check fixes (chip drivers) 2006-09-26 15:38:51 -07:00
pcf8574.c i2c: __must_check fixes (chip drivers) 2006-09-26 15:38:51 -07:00
pcf8591.c i2c: __must_check fixes (chip drivers) 2006-09-26 15:38:51 -07:00
tps65010.c PM: Separate hibernation code from suspend code 2007-05-09 12:30:48 -07:00