]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit988470e560ea56f584c17d0971c0d6c6dfb9a556
tree32ee5a84b99596c4e5880342784e082dfa46649c
parent30e2dbbf67cc3a167ac736d6f2f7563bff6d7dc9
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