commit | a3b51be3cdac4844b2d8bb7c4dad95e191a05697 | [log] [tgz] |
---|---|---|
author | Fabrice Gasnier <fabrice.gasnier@st.com> | Fri May 18 17:24:04 2018 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Mon Jun 04 07:13:40 2018 +0100 |
tree | f13b89f536974f40be634b40c8227d217981f86c | |
parent | fced2963d84b44990f4aa99ed7268223c294c0df [diff] |
pwm: stm32: Initialize raw local variables This removes build warning when COMPILE_TEST=y and MFD_STM32_TIMERS=n in drivers/pwm/pwm-stm32.c. In function 'stm32_pwm_capture' 'raw_prd' and 'raw_dty' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Acked-by: Thierry Reding <thierry.reding@gmail.com> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>