[lm-sensors] [PATCH 2/3] hwmon: (it87) Convert to use devm_kzalloc

Jean Delvare khali at linux-fr.org
Fri May 11 23:10:09 CEST 2012


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 at roeck-us.net>
> ---
>  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.

-- 
Jean Delvare



More information about the lm-sensors mailing list