rtc: pcf8563: remove useless indirection
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 29 Aug 2019 21:25:46 +0000 (23:25 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 1 Sep 2019 07:18:50 +0000 (09:18 +0200)
commitc7d5f6dbd9f9a68374f3d24c63a99691d792fd29
tree2034cacaea955a1b9bfea0ad1c16a240de1f0bb2
parent8d3f805e6896798a1a40173d3734463363431b8e
rtc: pcf8563: remove useless indirection

pcf8563_rtc_read_time and pcf8563_set_datetime are only used after casting
dev to an i2c_client. Remove that useless indirection.

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