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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Mike Frysinger [mailto:vapier@xxxxxxxxxx]
> Sent: den 31 oktober 2011 19:21
> To: Robert MARKLUND
> Cc: netdev@xxxxxxxxxxxxxxx; Steve Glendinning; Mathieu Poirier; Paul Mundt; linux-sh@xxxxxxxxxxxxxxx;
> Sascha Hauer; Tony Lindgren; linux-omap@xxxxxxxxxxxxxxx; uclinux-dist-devel@xxxxxxxxxxxxxxxxxxxx;
> Linus Walleij
> Subject: Re: [PATCH 2/2 v4] net/smsc911x: Add regulator support
> 
> On Monday 31 October 2011 08:38:39 Robert Marklund wrote:
> > 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.

> 
> >  	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
��.n��������+%������w��{.n�����{�������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux