OSDN Git Service

rtc: max6900: remove useless indirection
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 15:04:27 +0000 (16:04 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 17 Mar 2018 13:20:46 +0000 (14:20 +0100)
commit859a6ddbe5d95fa95a66247c290c2c266fe67bf8
tree683f79f0d52d334acd8f09d394df85168008c66d
parentceed43f719e61f437659569b57e171263dadda08
rtc: max6900: remove useless indirection

max6900_i2c_read_time and max6900_i2c_set_time 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-max6900.c