]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: omap: mark PM methods as __maybe_unused
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 1 Mar 2017 23:34:38 +0000 (15:34 -0800)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 9 Mar 2017 00:32:32 +0000 (01:32 +0100)
commitcf84b4ba1fda1e1cdc5f0db26c8a810563bd5051
tree8b25a3305dba4fec74306f644ec99ef154ebcfcf
parent8177969ee98885ee2029f1991cf71f309c4d920d
rtc: omap: mark PM methods as __maybe_unused

Instead of using #ifdef guards around PM methods, let's annotate
them as __maybe_unused, as it provides better compile coverage.

Also drop empty stub for omap_rtc_runtime_resume().

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-omap.c