commit | 73d7c119255615a26070f9d6cdb722a166a29015 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Tue Jun 19 08:00:00 2012 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Tue Sep 11 21:16:27 2012 -0700 |
tree | 0cd14b1cd889fb0e04a8d3e234bce9657ea2102c | |
parent | 55d512e245bc7699a8800e23df1a24195dd08217 [diff] |
hwmon: (twl4030-madc-hwmon) Initialize uninitialized structure elements twl4030_madc_conversion uses do_avg and type structure elements of twl4030_madc_request. Initialize structure to avoid random operation. Fix for: Coverity CID 200794 Uninitialized scalar variable. Cc: Keerthy <j-keerthy@ti.com> Cc: stable@vger.kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org> Acked-by: Keerthy <j-keerthy@ti.com>