android_kernel_xiaomi_sm8350/drivers/i2c
David Brownell f37dd80ac2 i2c: Add driver suspend/resume/shutdown support
Driver model updates for the I2C core:

 - Add new suspend(), resume(), and shutdown() methods.  Use them in the
   standard driver model style; document them.

 - Minor doc updates to highlight zero-initialized fields in drivers, and
   the driver model accessors for "clientdata".

If any i2c drivers were previously using the old suspend/resume calls
in "struct driver", they were getting warning messages ... and will
now no longer work.  Other than that, this patch changes no behaviors;
and it lets I2C drivers use conventional PM and shutdown support.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2007-02-13 22:09:00 +01:00
..
algos i2c: Discard the i2c algo del_bus wrappers 2006-12-10 21:21:33 +01:00
busses i2c: completion header cleanups 2007-02-13 22:09:00 +01:00
chips [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
i2c-core.c i2c: Add driver suspend/resume/shutdown support 2007-02-13 22:09:00 +01:00
i2c-dev.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
Kconfig i2c: Fix copy-n-paste in subsystem Kconfig 2006-09-26 15:38:51 -07:00
Makefile