diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-10-16 16:47:45 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2019-11-04 10:38:46 +0100 |
commit | 4411464d6f8b5e5759637235a6f2b2a85c2be0f1 (patch) | |
tree | c98f3c8a08dd0c3a8733edcffeebe9a12d34bc60 /scripts/genksyms | |
parent | clocksource/drivers/timer-of: Convert last full_name to %pOF (diff) | |
download | linux-4411464d6f8b5e5759637235a6f2b2a85c2be0f1.tar.xz linux-4411464d6f8b5e5759637235a6f2b2a85c2be0f1.zip |
clocksource/drivers/timer-of: Use unique device name instead of timer
If a hardware-specific driver does not provide a name, the timer-of core
falls back to device_node.name. Due to generic DT node naming policies,
that name is almost always "timer", and thus doesn't identify the actual
timer used.
Fix this by using device_node.full_name instead, which includes the unit
addrees.
Example impact on /proc/timer_list:
-Clock Event Device: timer
+Clock Event Device: timer@fcfec400
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20191016144747.29538-3-geert+renesas@glider.be
Diffstat (limited to 'scripts/genksyms')
0 files changed, 0 insertions, 0 deletions