rtc: m48t59: use platform_get_irq_optional
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 11 Mar 2021 08:48:09 +0000 (09:48 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 11 Mar 2021 08:48:09 +0000 (09:48 +0100)
commit55cc33fab5ac9f7e2a97aa7c564e8b35355886d5
treec7d03072896f8847b989a704f12b842cca980224
parenta38fd8748464831584a19438cbb3082b5a2dab15
rtc: m48t59: use platform_get_irq_optional

The IRQ is optional, avoid the error message by using
platform_get_irq_optional.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-m48t59.c