diff options
| author | Thomas Gleixner <[email protected]> | 2017-08-31 14:03:47 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2017-08-31 14:03:47 +0000 |
| commit | bc30658eff39c5bb562174fcf93618ab6a7afe88 (patch) | |
| tree | aad37b7210699c861ea71ae9674000aae988d01b /drivers/clocksource/timer-stm32.c | |
| parent | Merge branch 'fortglx/4.14/time' of https://git.linaro.org/people/john.stultz... (diff) | |
| parent | clocksource: Convert to using %pOF instead of full_name (diff) | |
| download | kernel-bc30658eff39c5bb562174fcf93618ab6a7afe88.tar.gz kernel-bc30658eff39c5bb562174fcf93618ab6a7afe88.zip | |
Merge branch 'clockevents/4.14' of http://git.linaro.org/people/daniel.lezcano/linux into timers/core
Pull clockevent updates from Daniel Lezcano:
- Add the new imx-tpm driver (Dong Aisheng)
- Remove DT deprecated binding for Renesas (Magnus Damm)
- Remove error message on memory allocation (Markus Elfring)
- Convert clocksource drivers to use %pOF
Diffstat (limited to 'drivers/clocksource/timer-stm32.c')
| -rw-r--r-- | drivers/clocksource/timer-stm32.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/clocksource/timer-stm32.c b/drivers/clocksource/timer-stm32.c index 174d1243ea93..8f2423789ba9 100644 --- a/drivers/clocksource/timer-stm32.c +++ b/drivers/clocksource/timer-stm32.c @@ -138,7 +138,7 @@ static int __init stm32_clockevent_init(struct device_node *np) irq = irq_of_parse_and_map(np, 0); if (!irq) { ret = -EINVAL; - pr_err("%s: failed to get irq.\n", np->full_name); + pr_err("%pOF: failed to get irq.\n", np); goto err_get_irq; } @@ -168,12 +168,12 @@ static int __init stm32_clockevent_init(struct device_node *np) ret = request_irq(irq, stm32_clock_event_handler, IRQF_TIMER, "stm32 clockevent", data); if (ret) { - pr_err("%s: failed to request irq.\n", np->full_name); + pr_err("%pOF: failed to request irq.\n", np); goto err_get_irq; } - pr_info("%s: STM32 clockevent driver initialized (%d bits)\n", - np->full_name, bits); + pr_info("%pOF: STM32 clockevent driver initialized (%d bits)\n", + np, bits); return ret; |
