]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/sun5i: Refactor the current code
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 31 Mar 2015 10:12:25 +0000 (12:12 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 31 Mar 2015 15:53:58 +0000 (17:53 +0200)
commitcb966f70595edcc0eeeed3e32ae7ca005cbbf434
tree8bdfcb34da43fda402fb00f050c5aa49a8fa9edc
parentb4b83104578725739a577aa352f7b70be3ad1102
clocksource/drivers/sun5i: Refactor the current code

Refactor the code in order to remove the global variables and
split the clock source and clock events registration in order to
ease the addition of the clock notifiers needed to handle the
parent clock rate changes.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/1427796746-373-4-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/clocksource/timer-sun5i.c