From: Dmitry Torokhov Date: Wed, 11 Mar 2015 21:08:36 +0000 (-0700) Subject: hwrng: omap - remove #ifdefery around PM methods X-Git-Tag: omap-for-v4.2/o2_dc~130^2~94 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a308d66f144c9d5a305ceda4345bebbaf6abc43f;p=pandora-kernel.git hwrng: omap - remove #ifdefery around PM methods Instead of using #ifdefs let's mark suspend and resume methods as __maybe_unused which will suppress compiler warnings about them being unused and provide better compile coverage. Because SIMPLE_DEV_PM_OPS() produces an empty omap_rng_pm structure in case of !CONFIG_PM_SLEEP neither omap_rng_suspend nor omap_rng_resume will end up being referenced and the change will not result in increasing image size. Signed-off-by: Dmitry Torokhov Signed-off-by: Herbert Xu --- Reading git-diff-tree failed