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>
Этот коммит содержится в:

коммит произвёл
Stephen Boyd

родитель
5b394b2ddf
Коммит
e665f029a2
@@ -162,8 +162,8 @@ static void __init _register_dpll(void *user,
|
||||
|
||||
clk = of_clk_get(node, 0);
|
||||
if (IS_ERR(clk)) {
|
||||
pr_debug("clk-ref missing for %s, retry later\n",
|
||||
node->name);
|
||||
pr_debug("clk-ref missing for %pOFn, retry later\n",
|
||||
node);
|
||||
if (!ti_clk_retry_init(node, hw, _register_dpll))
|
||||
return;
|
||||
|
||||
@@ -175,8 +175,8 @@ static void __init _register_dpll(void *user,
|
||||
clk = of_clk_get(node, 1);
|
||||
|
||||
if (IS_ERR(clk)) {
|
||||
pr_debug("clk-bypass missing for %s, retry later\n",
|
||||
node->name);
|
||||
pr_debug("clk-bypass missing for %pOFn, retry later\n",
|
||||
node);
|
||||
if (!ti_clk_retry_init(node, hw, _register_dpll))
|
||||
return;
|
||||
|
||||
@@ -226,7 +226,7 @@ static void _register_dpll_x2(struct device_node *node,
|
||||
|
||||
parent_name = of_clk_get_parent_name(node, 0);
|
||||
if (!parent_name) {
|
||||
pr_err("%s must have parent\n", node->name);
|
||||
pr_err("%pOFn must have parent\n", node);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -305,7 +305,7 @@ static void __init of_ti_dpll_setup(struct device_node *node,
|
||||
|
||||
init->num_parents = of_clk_get_parent_count(node);
|
||||
if (!init->num_parents) {
|
||||
pr_err("%s must have parent(s)\n", node->name);
|
||||
pr_err("%pOFn must have parent(s)\n", node);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
Ссылка в новой задаче
Block a user