]> 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)
commit37a0688c88de96d893ecb5beed77e8faf866060c
tree8b25a3305dba4fec74306f644ec99ef154ebcfcf
parent097d5c2c32e250fddab690b154bfad143416f7c3
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