rtc: simplify the return expression of rx8025_set_offset()
authorMinghao Chi <chi.minghao@zte.com.cn>
Thu, 5 May 2022 02:23:14 +0000 (02:23 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 17 May 2022 22:18:19 +0000 (00:18 +0200)
commitbce7a01ada6456d00c69cd816357ded268ad780c
tree1e868ea1fabe6988584df7f7b8ffa74855c7a0f3
parentaabfe05a824585f64a0620f131841f12ee259a20
rtc: simplify the return expression of rx8025_set_offset()

Simplify the return expression.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Reviewed-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220505022314.59822-1-chi.minghao@zte.com.cn
drivers/rtc/rtc-rx8025.c