Re: [PATCH] thermal: imx_thermal: Use __maybe_unused instead of CONFIG_PM_SLEEP

From: Uwe Kleine-König
Date: Mon Mar 02 2020 - 02:40:15 EST


On Sun, Mar 01, 2020 at 10:30:56PM +0800, Anson Huang wrote:
> Use __maybe_unused for power management related functions instead
> of #if CONFIG_PM_SLEEP to simply the code.

s/simply/simplify/

Other than that looks good to me.

Best regards
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |