summaryrefslogtreecommitdiff
path: root/drivers/clk/renesas/clk-mstp.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2018-12-14 14:02:55 -0800
committerStephen Boyd <sboyd@kernel.org>2018-12-14 14:02:55 -0800
commit2de34ed964891c0a58d03b20705437d8831fd6de (patch)
treeba8747d51e6ed5ccc08c5704fc6099046a11d7b4 /drivers/clk/renesas/clk-mstp.c
parent5964ac60131c0829f6fa9883c6c578028f553267 (diff)
parent87ab115185e116f0349ba5bd0555d0b0e935166b (diff)
Merge branch 'clk-of' into clk-next
* clk-of: clk: Use of_node_name_eq for node name comparisons
Diffstat (limited to 'drivers/clk/renesas/clk-mstp.c')
-rw-r--r--drivers/clk/renesas/clk-mstp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/renesas/clk-mstp.c b/drivers/clk/renesas/clk-mstp.c
index 2ba6105937e3..92ece221b0d4 100644
--- a/drivers/clk/renesas/clk-mstp.c
+++ b/drivers/clk/renesas/clk-mstp.c
@@ -280,7 +280,7 @@ int cpg_mstp_attach_dev(struct generic_pm_domain *unused, struct device *dev)
goto found;
/* BSC on r8a73a4/sh73a0 uses zb_clk instead of an mstp clock */
- if (!strcmp(clkspec.np->name, "zb_clk"))
+ if (of_node_name_eq(clkspec.np, "zb_clk"))
goto found;
of_node_put(clkspec.np);