summaryrefslogtreecommitdiff
path: root/arch/sandbox/include/asm/gpio.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-04 21:21:56 -0700
committerTom Rini <trini@konsulko.com>2021-03-03 14:51:06 -0500
commit9648789e2634e30fc58ad7180a7c7815e6227061 (patch)
tree1533178802a6fa29f12ce021b903d26477adee81 /arch/sandbox/include/asm/gpio.h
parent13979fc44667cbc577f3c4d07b6692de104a3174 (diff)
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: Simon Glass <sjg@chromium.org> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Diffstat (limited to 'arch/sandbox/include/asm/gpio.h')
0 files changed, 0 insertions, 0 deletions