diff options
author | Rob Herring <robh@kernel.org> | 2018-08-28 17:44:29 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-08-30 18:50:20 +0200 |
commit | e665f029a283aff4f36f0c5388f7c708be67470e (patch) | |
tree | 5f3704948d96ea6eeab0c36d50167d9b8cefd418 /drivers/clk/clk-asm9260.c | |
parent | Linux 4.19-rc1 (diff) | |
download | linux-e665f029a283aff4f36f0c5388f7c708be67470e.tar.xz linux-e665f029a283aff4f36f0c5388f7c708be67470e.zip |
clk: Convert to using %pOFn instead of device_node.name
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.
Cc: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: linux-clk@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-renesas-soc@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-asm9260.c')
-rw-r--r-- | drivers/clk/clk-asm9260.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/clk-asm9260.c b/drivers/clk/clk-asm9260.c index 44b544157121..d571a00b5282 100644 --- a/drivers/clk/clk-asm9260.c +++ b/drivers/clk/clk-asm9260.c @@ -281,7 +281,7 @@ static void __init asm9260_acc_init(struct device_node *np) base = of_io_request_and_map(np, 0, np->name); if (IS_ERR(base)) - panic("%s: unable to map resource", np->name); + panic("%pOFn: unable to map resource", np); /* register pll */ rate = (ioread32(base + HW_SYSPLLCTRL) & 0xffff) * 1000000; @@ -292,7 +292,7 @@ static void __init asm9260_acc_init(struct device_node *np) ref_clk, 0, rate, accuracy); if (IS_ERR(hw)) - panic("%s: can't register REFCLK. Check DT!", np->name); + panic("%pOFn: can't register REFCLK. Check DT!", np); for (n = 0; n < ARRAY_SIZE(asm9260_mux_clks); n++) { const struct asm9260_mux_clock *mc = &asm9260_mux_clks[n]; |