Read the whole thread, 138 messages PreviousNext Re: [PATCH v3 01/31] spi: mpc512x: cleanup clock API use FromMark Brown <broonie@kernel.org> Date2013-07-22 14:09:04 Also inlinux-arm-kernel, linux-devicetreeReply toGerhard Sittig, 2013-07-22 On Mon, Jul 22, 2013 at 02:14:28PM +0200, Gerhard Sittig wrote: quoted hunk ↗ jump to hunk+ ret = clk_prepare_enable(clk); + if (ret) { + devm_clk_put(dev, clk); + goto free_irq; The main point of the devm_ APIs is to avoid the need for explicit freeing so you should just remove these puts. Attachments signature.asc [application/pgp-signature] 836 bytes
Keyboard shortcuts hback out one level jnext message in thread / next series-diff position kprevious message in thread / previous series-diff position ldrill in Escclose help / fold thread tree ?toggle this help