summaryrefslogtreecommitdiffstats
path: root/drivers/sbus
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-11 22:08:36 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-03-12 11:13:37 +0100
commita308d66f144c9d5a305ceda4345bebbaf6abc43f (patch)
tree80aa913c50c904a01eb9d251c70d301c615c7be3 /drivers/sbus
parentcrypto: arm - add support for GHASH using ARMv8 Crypto Extensions (diff)
downloadlinux-a308d66f144c9d5a305ceda4345bebbaf6abc43f.tar.xz
linux-a308d66f144c9d5a305ceda4345bebbaf6abc43f.zip
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 <dmitry.torokhov@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions