OSDN Git Service

rtc: s35390a: remove useless indirection
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 13:00:18 +0000 (14:00 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 17 Mar 2018 13:20:44 +0000 (14:20 +0100)
commit779e1aabb49e4f3749be659eb4edfe23db09a800
tree8870d0a21939064fcc7aa97aa145bf5ebe8b12da
parentbb530199a84593504e4cdf1ffd4636726df4f139
rtc: s35390a: remove useless indirection

s35390a_set_datetime, s35390a_get_datetime, s35390a_set_alarm and
s35390a_read_alarm 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-s35390a.c