thermal: imx_thermal: Use __maybe_unused instead of CONFIG_PM_SLEEP
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 2 Mar 2020 08:54:26 +0000 (16:54 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 12 Mar 2020 10:56:53 +0000 (11:56 +0100)
commitb009514f9786e50578c52eeef6d2020f84630773
tree0c7a556a9af00f15e121a2b46fc514089a623f74
parent1fd213f38b999b95777d4dddc7e232e08f2294c8
thermal: imx_thermal: Use __maybe_unused instead of CONFIG_PM_SLEEP

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

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1583139266-23615-1-git-send-email-Anson.Huang@nxp.com
drivers/thermal/imx_thermal.c