rtc: rs5c372: remove useless indirection
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 14:47:14 +0000 (15:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 17 Mar 2018 13:20:45 +0000 (14:20 +0100)
commit44db5c92a7110e70b45a5caa1d56f8706b7fc76d
treeee75a3e32fd50fdb5de848e5e7e7e621f84576b3
parent57f454fb52f631fb94fc64bcc7e77bf9ed52be9e
rtc: rs5c372: remove useless indirection

rs5c372_get_datetime and rs5c372_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-rs5c372.c