OSDN Git Service

rtc: isl12022: remove useless indirection
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 20 Feb 2018 22:55:40 +0000 (23:55 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 2 Mar 2018 09:12:19 +0000 (10:12 +0100)
commit143d92bea3dcda36a2233fa30737b1f818ea4ca3
tree32ee5a84b99596c4e5880342784e082dfa46649c
parent66b32fc54c8e04079102ad356b88a448aad4cb81
rtc: isl12022: remove useless indirection

isl12022_get_datetime and isl12022_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-isl12022.c