diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-06-02 20:48:01 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2012-07-22 06:48:43 +0200 |
commit | f187fc040b31d9e7ff90be08d3140732a8450bc4 (patch) | |
tree | 0cca25cad1cb1b3b9333081df1d348ffce26ae9a /block | |
parent | hwmon: (smsc47m192) Convert to use devm_ functions (diff) | |
download | linux-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