Re: [PATCH 2/3] hwmon: (it87) Convert to use devm_kzalloc

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

 



On Fri, 2012-05-11 at 17:10 -0400, Jean Delvare wrote:
> On Tue,  8 May 2012 19:31:53 -0700, Guenter Roeck wrote:
> > This makes the code a bit simpler and smaller.
> > 
> > Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> > ---
> >  drivers/hwmon/it87.c |   10 ++--------
> >  1 files changed, 2 insertions(+), 8 deletions(-)
> 
> You'll have to adjust this patch as it is killing label ERROR2 which is
> still in use now that patch "hwmon: (it87) Create voltage attributes
> only if voltage is enabled" was updated.
> 
Actually, since I am touching it, I'll also convert the request_region
call to devm_request_region. That will remove most of the labels. I'll
send out a revised patch in a minute.

Thanks,
Guenter



_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux