You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iio: adc: ltc2387: Properly initialize all members of struct pwm_state vars
When just some members of a struct get assigned a value the remaining
members have no defined value. In this case this affects .polarity and
.usage_power.
Fix that by using an idiom that initializes all unmentioned struct
members to their default value.
Fixes: 4eabb45 ("drivers: iio: adc: Add support for LTC2387")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
0 commit comments