summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-stm32.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2018-01-08 16:28:49 +0300
committerIngo Molnar <mingo@kernel.org>2018-01-08 19:57:24 +0300
commit9aea417afa6bf52f15a5b194944b6a646d61af04 (patch)
tree86bf89170a4674fb8b5998669ab8ea5363ef2857 /drivers/clocksource/timer-stm32.c
parent1c63c1c089a48e1b1821a73dc36a3997ced2f82d (diff)
downloadlinux-9aea417afa6bf52f15a5b194944b6a646d61af04.tar.xz
clocksource/drivers/timer-of: Don't request the resource by name
When the driver does not specify a name for the resource, don't use of_io_request_and_map() but of_iomap(). That prevents resource name allocation conflicts on some platforms which have the same name as the node. 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: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1515418139-23276-10-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/clocksource/timer-stm32.c')
0 files changed, 0 insertions, 0 deletions