commit | bcd108e0adffc79ec613b98a07cea6094b9632df | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Thu Jun 04 14:30:29 2020 +0200 |
committer | Patrick Delaunay <patrick.delaunay@st.com> | Tue Jul 07 16:01:23 2020 +0200 |
tree | 0d1967612b18a671bfd039b13924b5fbf3e7c3a3 | |
parent | 0aab9d30b5bb0d9ab71041211153b76cd45d9352 [diff] |
gpio: stmfx: add function stmfx_read_reg and stmfx_write_reg Add the helper functions stmfx_read_reg() and stmfx_write_reg() to avoid duplicated code for access to stmfx's register with mask. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>