Thread (4 messages) 4 messages, 2 authors, 2011-11-17

RE: [PATCH 2/2 v4] net/smsc911x: Add regulator support

From: Robert MARKLUND <hidden>
Date: 2011-11-16 12:59:41
Also in: linux-omap, linux-sh

-----Original Message-----
From: Mike Frysinger [mailto:vapier@gentoo.org]
Sent: den 31 oktober 2011 19:21
To: Robert MARKLUND
Cc: netdev@vger.kernel.org; Steve Glendinning; Mathieu Poirier; Paul Mundt; linux-sh@vger.kernel.org;
Sascha Hauer; Tony Lindgren; linux-omap@vger.kernel.org; uclinux-dist-devel@blackfin.uclinux.org;
Linus Walleij
Subject: Re: [PATCH 2/2 v4] net/smsc911x: Add regulator support

On Monday 31 October 2011 08:38:39 Robert Marklund wrote:
quoted
ChangeLog v3->v4:
- Remove dual prints and old comment on Mike's request.
- Split the request_free fucntion on Mike and Sascha request.
would be nice if the enable/disable were split as well ...
I interpret this as "nice if", if it's a "must be" then ill change it.
quoted
 	iounmap(pdata->ioaddr);

+	(void)smsc911x_enable_disable_resources(pdev, false);
i don't think the (void) cast is necessary
I like telling the reader of the code that I ignore the return value, 
I did not just forget it.

/R
otherwise looks fine
-mike
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help