rtc: rx8581: remove useless indirection
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 17 May 2018 20:33:28 +0000 (22:33 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 17 May 2018 20:37:18 +0000 (22:37 +0200)
commit2d2b300b3875cb76b67e5aa6ba39b58519942411
tree2c8c3737b1b7cd53acca61c732b79155c70c867b
parentc6e3c297a1948095c248058fd4ba51b1f9d12e7f
rtc: rx8581: remove useless indirection

rx8581_get_datetime and rx8581_set_datetime are only used after casting dev
to an i2c_client. Remove that useless indirection.

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