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

Jean Delvare khali at linux-fr.org
Sat Jun 16 18:55:33 CEST 2012


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 at roeck-us.net>
> ---
>  drivers/hwmon/lm77.c |   73 +++++++++++++++++++++++---------------------------
>  1 file changed, 33 insertions(+), 40 deletions(-)

Acked-by: Jean Delvare <khali at linux-fr.org>

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

-- 
Jean Delvare



More information about the lm-sensors mailing list