]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (twl4030-madc-hwmon) Initialize uninitialized structure elements
authorGuenter Roeck <linux@roeck-us.net>
Tue, 19 Jun 2012 15:00:00 +0000 (08:00 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 9 Sep 2012 16:29:06 +0000 (09:29 -0700)
commit3eb436d44e0e8284b0d89b604cf7e0ec457167a8
treef03a4c6583c7a8f297cf938502eec350e73e4bd0
parent921091ff11c85f87ab20d6d24a879972301b1e79
hwmon: (twl4030-madc-hwmon) Initialize uninitialized structure elements

twl4030_madc_conversion uses do_avg and type structure elements of
twl4030_madc_request. Initialize to avoid random operation.

Cc: Keerthy <j-keerthy@ti.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/twl4030-madc-hwmon.c