summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gl518sm.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-11-04 12:00:47 +0100
committerJean Delvare <khali@endymion.delvare>2011-11-04 12:00:47 +0100
commitb2589ab02b46ea4a80b30a90fc2fe8eed957e86a (patch)
tree716e89b006bdf17ff4c4859f3f2cf523ff18701a /drivers/hwmon/gl518sm.c
parent8dc089d68b125179b1c97e75d29623472d99c68b (diff)
downloadtalos-obmc-linux-b2589ab02b46ea4a80b30a90fc2fe8eed957e86a.tar.gz
talos-obmc-linux-b2589ab02b46ea4a80b30a90fc2fe8eed957e86a.zip
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>
Diffstat (limited to 'drivers/hwmon/gl518sm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud