Skip to content
Commit fabb6e14 authored by Patrick Delaunay's avatar Patrick Delaunay
Browse files

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: default avatarPatrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent 067c7398
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment