commit | b2589ab02b46ea4a80b30a90fc2fe8eed957e86a | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Fri Nov 04 12:00:47 2011 +0100 |
committer | Jean Delvare <khali@endymion.delvare> | Fri Nov 04 12:00:47 2011 +0100 |
tree | 716e89b006bdf17ff4c4859f3f2cf523ff18701a | |
parent | 8dc089d68b125179b1c97e75d29623472d99c68b [diff] |
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 <khali@linux-fr.org> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>