From: Jean Delvare Date: Fri, 4 Nov 2011 11:00:47 +0000 (+0100) Subject: hwmon: (lm90) Make code more readable X-Git-Tag: v3.2-rc1~64^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2589ab02b46ea4a80b30a90fc2fe8eed957e86a;p=pandora-kernel.git hwmon: (lm90) Make code more readable Clean up the code to make it more readable: * Remove reg_ and new_ prefixes from variable names, they made the names longer, causing extra line breaks, while not adding much value. * Introduce struct device dev* = &client->dev in two functions, to avoid repeating client->dev everywhere in these functions. Signed-off-by: Jean Delvare Acked-by: Guenter Roeck --- Reading git-diff-tree failed