diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-06-04 14:30:29 +0200 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2020-07-07 16:01:23 +0200 |
commit | fabb6e14c86d8d38beaaade8bc18a678cdc06c0a (patch) | |
tree | 0d1967612b18a671bfd039b13924b5fbf3e7c3a3 /drivers/pinctrl/mediatek | |
parent | 067c7398d5748d1b29df6aa1d5059a528310e4f7 (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>
Diffstat (limited to 'drivers/pinctrl/mediatek')
0 files changed, 0 insertions, 0 deletions