rtc: m41t80: remove useless indirection
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 25 Feb 2018 22:15:00 +0000 (23:15 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 17 Mar 2018 13:20:48 +0000 (14:20 +0100)
commite2c8e1a9f7e52203c9a2712a2e35326d212ad5d7
tree677f786defa7158e330db66d526d287e084f454a
parent10d0c768cc6d581523d673b9d1b54213f8a5eb24
rtc: m41t80: remove useless indirection

m41t80_get_datetime and m41t80_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-m41t80.c