]> asedeno.scripts.mit.edu Git - linux.git/commit
thermal: qoriq: Use __maybe_unused instead of #if CONFIG_PM_SLEEP
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 30 Jul 2019 02:21:25 +0000 (10:21 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 28 Aug 2019 08:33:27 +0000 (16:33 +0800)
commitaea591970f659bd6d792ca4c46dd0d251331a397
treeaf96a9f4ef746689f6d0dd58af1e6e2163b070d8
parent4d82000af007acda6b46729ea368f6b2823c532c
thermal: qoriq: Use __maybe_unused instead of #if CONFIG_PM_SLEEP

Use __maybe_unused for power management related functions
instead of #if CONFIG_PM_SLEEP to simply the code.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/qoriq_thermal.c