RE: [PATCH] rtc: snvs: Use __maybe_unused instead of #if CONFIG_PM_SLEEP

2019-04-29 Thread Anson Huang
ux-imx > Subject: Re: [PATCH] rtc: snvs: Use __maybe_unused instead of #if > CONFIG_PM_SLEEP > > On Mon, 2019-04-29 at 07:02 +, Anson Huang wrote: > > Use __maybe_unused for power management related functions instead of > > #if CONFIG_PM_SLEEP to simply the code. >

Re: [PATCH] rtc: snvs: Use __maybe_unused instead of #if CONFIG_PM_SLEEP

2019-04-29 Thread Trent Piepho
On Mon, 2019-04-29 at 07:02 +, Anson Huang wrote: > Use __maybe_unused for power management related functions > instead of #if CONFIG_PM_SLEEP to simply the code. > > Signed-off-by: Anson Huang This will result in the functions always being included, even if PM_SLEEP is off... > > @@ -387

RE: [PATCH] rtc: snvs: Use __maybe_unused instead of #if CONFIG_PM_SLEEP

2019-04-29 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, April 29, 2019 3:03 PM > > Use __maybe_unused for power management related functions instead of #if > CONFIG_PM_SLEEP to simply the code. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Dong Aisheng