From: David Brownell Date: Tue, 13 Feb 2007 21:09:00 +0000 (+0100) Subject: i2c: Add driver suspend/resume/shutdown support X-Git-Tag: v2.6.21-rc1~273^2~4^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f37dd80ac2a67e4e4e921f99d34a1ceeb2488abb;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare --- Reading git-diff-tree failed