]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea3fc34d85f0cc67be711852ca0b4a26c6a0c11f
tree72911ce3526153f148823741e28b6157f257463e
parent590bc11c409da57118b6e6b9b24b02ac97630374
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