]> asedeno.scripts.mit.edu Git - linux.git/commit
rtc: ds1672: remove useless indirection
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 7 Apr 2019 21:05:37 +0000 (23:05 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 8 Apr 2019 12:35:28 +0000 (14:35 +0200)
commit7a5670c754b81a241c970b383a9af3e1a9fa35c0
tree4ff01c3999a481d11442706995a0217a27b30d4f
parentc346065582f80f56005a679c9675ddad77e3e823
rtc: ds1672: remove useless indirection

ds1672_get_datetime and ds1672_set_mmss 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-ds1672.c