]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm95245) Avoid initializing the same field twice
authorJean Delvare <jdelvare@suse.de>
Wed, 12 Feb 2014 09:05:27 +0000 (10:05 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 3 Mar 2014 16:01:04 +0000 (08:01 -0800)
commiteed4ff1e90df42b16ca49086b0e1d32fe02b9689
treebae10e2a621229e11607c8ddca98912bf7a74dcf
parent2e509ab8ba400e1db84726e8878c6d4aa64fb87d
hwmon: (lm95245) Avoid initializing the same field twice

data is kzalloc'd, so data->valid is already 0.

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