summaryrefslogtreecommitdiffstats
path: root/samples/trace_printk
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2018-01-11 22:06:39 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-01-18 12:52:30 +0100
commitcd0bb67f21dadaf0a0240776f6e39a14b4f7625b (patch)
treec659afe60ba3e17e5672918963a031a1b9e40c5b /samples/trace_printk
parentcrypto: chelsio - Remove dst sg size zero check (diff)
downloadlinux-cd0bb67f21dadaf0a0240776f6e39a14b4f7625b.tar.xz
linux-cd0bb67f21dadaf0a0240776f6e39a14b4f7625b.zip
hwrng: imx-rngc - simplify the power management definitions
Use the SIMPLE_DEV_PM_OPS() macro instead of populating a struct dev_pm_ops directly. The suspend and resume functions will now be used for both hibernation and suspend to ram. If power management is disabled, SIMPLE_DEV_PM_OPS() evaluates to nothing, The two functions won't be used and won't be included in the kernel. Mark them as __maybe_unused to clarify that this is intended behaviour. With these modifications in place, we don't need the #ifdefs for power management any more. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'samples/trace_printk')
0 files changed, 0 insertions, 0 deletions