rtc: snvs: Use __maybe_unused instead of #if CONFIG_PM_SLEEP
authorAnson Huang <anson.huang@nxp.com>
Tue, 30 Apr 2019 01:07:08 +0000 (01:07 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 8 May 2019 20:14:36 +0000 (22:14 +0200)
commitdacb6a4035a010e41abaf81c1cfe2beadfb05ec8
tree72911ce3526153f148823741e28b6157f257463e
parent557fbf4f387a6b3df2e02647848b7b4f1064e104
rtc: snvs: 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: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-snvs.c