]> git.baikalelectronics.ru Git - uboot.git/commit
pinctrl: stmfx: update the result type of dm_i2c_reg_read
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 28 Jan 2020 09:44:14 +0000 (10:44 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 13 Feb 2020 17:47:00 +0000 (18:47 +0100)
commit20bffa39b51c20dc02266356c695ed70faac3177
tree64816d9f5eb42c5da2668a35aa458b6f4472156e
parent9ac02685c71e5444c9aeb382e91c3e623e720582
pinctrl: stmfx: update the result type of dm_i2c_reg_read

Use int as result of dm_i2c_reg_read to avoid warning with
W=1 (warning: comparison is always false due to limited range
of data type [-Wtype-limits])

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
drivers/pinctrl/pinctrl-stmfx.c