diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-06-21 15:26:52 +0200 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2019-07-12 11:50:56 +0200 |
commit | 91ca91e855e0e2a390c6a034173d4c2755f55c35 (patch) | |
tree | 6286e1fd7a2f6935c7e5dcc810011e14d223a13c /drivers/power/regulator/stpmic1.c | |
parent | 588448517f6531f00ce729a6e8cf5ef8c08261bf (diff) |
pinctrl: pinctrl_stm32: Fix warnings when compiling with W=1
This patch solves the following warnings:
warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (*idx < 0)
^
drivers/pinctrl/pinctrl_stm32.c: At top level:
warning: no previous prototype for 'stm32_pinctrl_probe' [-Wmissing-prototypes]
int stm32_pinctrl_probe(struct udevice *dev)
^~~~~~~~~~~~~~~~~~~
Signed-off-by: Patrice CHOTARD <patrice.chotard@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/power/regulator/stpmic1.c')
0 files changed, 0 insertions, 0 deletions