]> git.ipfire.org Git - people/arne_f/kernel.git/commit
sh: remove board_time_init() callback
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Apr 2018 15:46:39 +0000 (17:46 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 18 Dec 2018 15:13:04 +0000 (16:13 +0100)
commit19f48591e67c83e74e1b612f180b96ce7f1eaf85
tree1c2d16b5e92b8eb2aefa47dcbf2d1393522adc25
parent07df7800c6cd0bfc3bfcbfc5f12ebbd73423a5ec
sh: remove board_time_init() callback

The only remaining user of board_time_init() is the of-generic
machine, and that just calls the global timer_init() function.
Calling that one has no effect on non-DT platforms, so we can
simply call it unconditionally in place of board_time_init().

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Documentation/sh/new-machine.txt
arch/sh/boards/of-generic.c
arch/sh/include/asm/rtc.h
arch/sh/kernel/time.c