[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <c2b949f92eff7ae8836af36d56a633e501e35caa.1490545262.git-series.plaes@plaes.org>
Date: Sun, 26 Mar 2017 20:20:21 +0300
From: Priit Laes <plaes@...es.org>
To: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org, linux-clk@...r.kernel.org
Cc: linux-sunxi@...glegroups.com, Icenowy Zheng <icenowy@...c.xyz>,
Russell King <linux@...linux.org.uk>,
Chen-Yu Tsai <wens@...e.org>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
Mark Rutland <mark.rutland@....com>,
Rob Herring <robh+dt@...nel.org>,
Stephen Boyd <sboyd@...eaurora.org>,
Michael Turquette <mturquette@...libre.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Priit Laes <plaes@...es.org>
Subject: [PATCH v2 6/6] clk: sunxi-ng: Display index when clock registration fails
Add clock index to clock registration failure message.
Signed-off-by: Priit Laes <plaes@...es.org>
---
drivers/clk/sunxi-ng/ccu_common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/sunxi-ng/ccu_common.c b/drivers/clk/sunxi-ng/ccu_common.c
index 8a47baf..188fa50 100644
--- a/drivers/clk/sunxi-ng/ccu_common.c
+++ b/drivers/clk/sunxi-ng/ccu_common.c
@@ -63,8 +63,8 @@ int sunxi_ccu_probe(struct device_node *node, void __iomem *reg,
ret = clk_hw_register(NULL, hw);
if (ret) {
- pr_err("Couldn't register clock %s\n",
- clk_hw_get_name(hw));
+ pr_err("Couldn't register clock %d - %s\n",
+ i, clk_hw_get_name(hw));
goto err_clk_unreg;
}
}
--
git-series 0.9.1
Powered by blists - more mailing lists