[PATCH 4/5] clocksource/drivers/sun5i: Refactor the current code

2015-03-31 Thread Daniel Lezcano
From: Maxime Ripard 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 Signed-off-by: Daniel Lezcano

[PATCH 4/5] clocksource/drivers/sun5i: Refactor the current code

2015-03-31 Thread Daniel Lezcano
From: Maxime Ripard maxime.rip...@free-electrons.com 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