]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: mips-gic: Use clockevents_config_and_register
authorAndrew Bresticker <abrestic@chromium.org>
Mon, 20 Oct 2014 19:04:05 +0000 (12:04 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:16 +0000 (07:45 +0100)
commitf2f448eb6b300a1562ec214ad936337f19464c6e
tree755f59a45101d7b2183e5a6450cff350acd7017b
parent683ffa7d0a22bbb4f12fb9e7293280569c163431
clocksource: mips-gic: Use clockevents_config_and_register

Use clockevents_config_and_register to setup the clock_event_device
based on frequency and min/max ticks instead of doing it ourselves.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Qais Yousef <qais.yousef@imgtec.com>
Cc: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8140/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/clocksource/mips-gic-timer.c