]> git.karo-electronics.de Git - karo-tx-linux.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)
commit0c749eacaa80a36b9d2b74c6c99c61baa0196eb9
tree8b25a3305dba4fec74306f644ec99ef154ebcfcf
parentb9de1a1dae8c78de05a59e40632aa8241ef78e1a
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