summaryrefslogtreecommitdiff
path: root/drivers/adc/sandbox.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2019-06-21 16:26:44 +0300
committerPatrick Delaunay <patrick.delaunay@st.com>2019-07-12 12:50:55 +0300
commit0fb03656730a58fc79831c8bcc852bc9f628b960 (patch)
tree9f5adf5bbf4cf019147f18acfba282a8539d5bdb /drivers/adc/sandbox.c
parent745b676d00c3cb3d6541fc3ef3290e3e880ae7ca (diff)
downloadu-boot-0fb03656730a58fc79831c8bcc852bc9f628b960.tar.xz
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>
Diffstat (limited to 'drivers/adc/sandbox.c')
0 files changed, 0 insertions, 0 deletions