Thread (8 messages) 8 messages, 3 authors, 2012-12-13

Re: [PATCH 1/2] drivers/w1/masters/mxc_w1.c: use devm_ functions

From: Evgeniy Polyakov <hidden>
Date: 2012-12-13 18:27:28
Also in: lkml

On Thu, Dec 13, 2012 at 12:39:38PM +0300, Dan Carpenter (dan.carpenter@oracle.com) wrote:
On Wed, Dec 12, 2012 at 01:25:56AM +0400, Evgeniy Polyakov wrote:
quoted
I suppose mdev will be automatically freed, but who will release
mdev->clk and other private members of mdev structure?
+   mdev->clk = devm_clk_get(&pdev->dev, NULL);

->clk is now a devm pointer as well.
Argh, I see it. Thanks for clarification.

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