Skip to content
Commit 9648789e authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

dm: gpio: Rename get_dir_flags() method to get_flags()



It is more useful to be able to read all the flags, not just the direction
ones. In fact this is what the STM32 driver does. Update the method name
to reflect this.

Tweak the docs a little and use 'flagsp' as the return argument, as is
common in driver model, to indicate it returns a value.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>

Reviewed-by: default avatarPratyush Yadav <p.yadav@ti.com>
parent 13979fc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment