summaryrefslogtreecommitdiffstats
path: root/drivers/clk/renesas/clk-mstp.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2018-12-14 23:02:55 +0100
committerStephen Boyd <sboyd@kernel.org>2018-12-14 23:02:55 +0100
commit2de34ed964891c0a58d03b20705437d8831fd6de (patch)
treeba8747d51e6ed5ccc08c5704fc6099046a11d7b4 /drivers/clk/renesas/clk-mstp.c
parentMerge branch 'clk-vc5-suspend' into clk-next (diff)
parentclk: Use of_node_name_eq for node name comparisons (diff)
downloadlinux-2de34ed964891c0a58d03b20705437d8831fd6de.tar.xz
linux-2de34ed964891c0a58d03b20705437d8831fd6de.zip
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);