From: Guenter Roeck Date: Sun, 17 Jun 2012 01:26:09 +0000 Subject: Re: [lm-sensors] [PATCH 45/95] hwmon: (lm77) Convert to use devm_ functions Message-Id: <20120617012609.GA31683@roeck-us.net> List-Id: References: <1339773856-3443-46-git-send-email-linux@roeck-us.net> In-Reply-To: <1339773856-3443-46-git-send-email-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org On Sat, Jun 16, 2012 at 06:55:33PM +0200, Jean Delvare wrote: > 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 > > --- > > drivers/hwmon/lm77.c | 73 +++++++++++++++++++++++--------------------------- > > 1 file changed, 33 insertions(+), 40 deletions(-) > > Acked-by: Jean Delvare > > Although ideally this would have been done as two separate patches. > Makes sense. I split it into two patches, first the rename followed by the devm_ rework. Thanks, Guenter _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors