From: Guenter Roeck Date: Tue, 19 Jun 2012 15:00:00 +0000 (-0700) Subject: hwmon: (twl4030-madc-hwmon) Initialize uninitialized structure elements X-Git-Tag: v3.6-rc6~13^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73d7c119255615a26070f9d6cdb722a166a29015;p=pandora-kernel.git 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 Cc: stable@vger.kernel.org Signed-off-by: Guenter Roeck Acked-by: Jean Delvare Acked-by: Keerthy --- Reading git-diff-tree failed