Skip to content
Commit 73d7c119 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
Acked-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarKeerthy <j-keerthy@ti.com>
parent 55d512e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment