rtc: ds3232: quiet maybe-unused variable warning
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 2 Feb 2021 11:22:04 +0000 (12:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 5 Feb 2021 23:58:24 +0000 (00:58 +0100)
commit2c1dc25fa7c8439a3493e5c10c5b867a961fd71c
tree4e1d9a0164a7ff5c0dcbdd28b71ccc2830f025e8
parentfb38b5da90105cf7b0d7a42c2f656c7ad0e6f960
rtc: ds3232: quiet maybe-unused variable warning

When CONFIG_OF is disabled then the matching table is not referenced.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210202112219.3610853-8-alexandre.belloni@bootlin.com
drivers/rtc/rtc-ds3232.c