Thread (1 message) 1 message, 1 author, 2013-07-18

Re: [PATCH v2 01/24] spi: mpc512x: cleanup clock API use

From: Mark Brown <broonie@kernel.org>
Date: 2013-07-18 20:49:56
Also in: linux-arm-kernel, linux-devicetree

On Thu, Jul 18, 2013 at 07:00:32PM +0200, Gerhard Sittig wrote:
+	psc_num = master->bus_num;
+	snprintf(clk_name, sizeof(clk_name), "psc%d_mclk", psc_num);
+	mps->clk_mclk = clk_get(dev, clk_name);
+	if (IS_ERR(mps->clk_mclk))
+		goto free_irq;
Should be using devm_clk_get().

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help