diff options
| author | Daniel Lezcano <[email protected]> | 2018-01-08 13:28:49 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-01-08 16:57:24 +0000 |
| commit | 9aea417afa6bf52f15a5b194944b6a646d61af04 (patch) | |
| tree | 86bf89170a4674fb8b5998669ab8ea5363ef2857 /drivers/clocksource/timer-stm32.c | |
| parent | clocksource/drivers/timer-of: Store the device node pointer in 'struct timer_of' (diff) | |
| download | kernel-9aea417afa6bf52f15a5b194944b6a646d61af04.tar.gz kernel-9aea417afa6bf52f15a5b194944b6a646d61af04.zip | |
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 <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Acked-by: Benjamin Gaignard <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-stm32.c')
0 files changed, 0 insertions, 0 deletions
