commit | 35fc48de9522b498b7fba9df8ed497308dd7f433 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Fri Jun 21 15:26:44 2019 +0200 |
committer | Patrick Delaunay <patrick.delaunay@st.com> | Fri Jul 12 11:50:55 2019 +0200 |
tree | 9f5adf5bbf4cf019147f18acfba282a8539d5bdb | |
parent | 4c7c074b8a6d7ee7ba07e58dd23518c2b656fe86 [diff] |
adc: stm32-adc: Fix warnings when compiling with W=1 This patch solves the following warnings: drivers/adc/stm32-adc.c: In function 'stm32_adc_chan_of_init': warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (num_channels > adc->cfg->max_channels) { ^ Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Acked-by: Fabrice Gasnier <fabrice.gasnier@st.com>