Re: [PATCH 45/95] hwmon: (lm77) Convert to use devm_ functions

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

 



On Fri, 15 Jun 2012 08:23:26 -0700, Guenter Roeck wrote:
> Convert to use devm_ functions to reduce code size and simplify the code.
> 
> Also rename new_client variable, and define new variable for client->dev, to
> improve code readability.
> 
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> ---
>  drivers/hwmon/lm77.c |   73 +++++++++++++++++++++++---------------------------
>  1 file changed, 33 insertions(+), 40 deletions(-)

Acked-by: Jean Delvare <khali@xxxxxxxxxxxx>

Although ideally this would have been done as two separate patches.

-- 
Jean Delvare

_______________________________________________
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