]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (max6639) Introduce local dev variable, and reduce noisiness
authorGuenter Roeck <linux@roeck-us.net>
Mon, 17 Feb 2014 18:21:26 +0000 (10:21 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 3 Mar 2014 16:01:06 +0000 (08:01 -0800)
commitc1ea0a0431bc63a24bc0a887c94e93c1ecafd668
treedbdf02d2bee946f7da708607380f57251a749582
parent71ba0f315cc024e3467a49ee63f0b4b4019cdb46
hwmon: (max6639) Introduce local dev variable, and reduce noisiness

Introduce local variable 'dev' in probe function to make code easier
to read. Also drop dev_info message in probe to reduce noisiness
during boot.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
drivers/hwmon/max6639.c