From: Mark Brown Date: Fri, 14 Jan 2011 21:03:50 +0000 (+0100) Subject: i2c: Encourage move to dev_pm_ops by warning on use of legacy methods X-Git-Tag: v2.6.38-rc1~45^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4e8db31a83ad019e9ae06edb9c2f89de66bc7b7;p=pandora-kernel.git i2c: Encourage move to dev_pm_ops by warning on use of legacy methods Since the PM core wishes to transition away from the legacy suspend and resume methods and since removing them makes using PM core features like runtime PM much easier start warning when a driver is registered using the legacy methods. Signed-off-by: Mark Brown Signed-off-by: Jean Delvare --- Reading git-diff-tree failed