summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-06-02 20:48:01 +0200
committerGuenter Roeck <linux@roeck-us.net>2012-07-22 06:48:43 +0200
commitf187fc040b31d9e7ff90be08d3140732a8450bc4 (patch)
tree0cca25cad1cb1b3b9333081df1d348ffce26ae9a /block
parenthwmon: (smsc47m192) Convert to use devm_ functions (diff)
downloadlinux-f187fc040b31d9e7ff90be08d3140732a8450bc4.tar.xz
linux-f187fc040b31d9e7ff90be08d3140732a8450bc4.zip
hwmon: (w83l785ts) Simplify code and improve readability
In probe function, rename new_client variable to client, and introduce local variable dev to point to client->dev, to simplify the code and improve readability. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions