diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-01-08 14:28:53 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-01-08 17:57:25 +0100 |
commit | 70c62cf910aeba7cb79f4ebc7e6c8edbb37a77f6 (patch) | |
tree | 84efcdc7ba8b086498a66cec96ee3668c3845874 /drivers/clocksource/armv7m_systick.c | |
parent | f2ed8ef1cea41c7e7e5d52199db9c822951ab101 (diff) |
clocksource/drivers/stm32: Factor out the timer width sorting code
In order to clarify and encapsulate the code for upcoming changes, move the
timer width check into a function and add some documentation.
Tested-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1515418139-23276-14-git-send-email-daniel.lezcano@linaro.org
[ Spelling fixes. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/clocksource/armv7m_systick.c')
0 files changed, 0 insertions, 0 deletions