rtc: pcf2127: remove useless check
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 27 Aug 2023 21:46:49 +0000 (23:46 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 27 Aug 2023 21:53:06 +0000 (23:53 +0200)
commiteeeb77716f5f7c03d157980c7ad3af037c61c8ae
tree5851afb42822f9b7da572089737ca81e628123af
parent2b0386d578836b9cd5d2e63cff38b7229c319e4a
rtc: pcf2127: remove useless check

This check is only useful when introducing support for a new RTC in the
driver. Cut down the number of strings in th driver.

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