From: Hauke Mehrtens Date: Thu, 29 Nov 2012 22:27:17 +0000 (+0100) Subject: rtlwifi: use SIMPLE_DEV_PM_OPS X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~56^2^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=244a77e9d708d5a23eed21a4fb62a62acc9c69a6;p=pandora-kernel.git rtlwifi: use SIMPLE_DEV_PM_OPS rtlwifi only provides pm callbacks for functions covered by pm sleep and they are also just called if CONFIG_PM_SLEEP is set. Only add functions rtl_pci_suspend and rtl_pci_resume if CONFIG_PM_SLEEP is set and use SIMPLE_DEV_PM_OPS instead of manually filling struct dev_pm_ops. Signed-off-by: Hauke Mehrtens Signed-off-by: John W. Linville --- Reading git-diff-tree failed