[PATCH v4 03/16] dm: gpio: Rename get_dir_flags() method to get_flags()

Tom Rini trini at konsulko.com
Thu Mar 4 19:14:06 CET 2021


On Thu, Feb 04, 2021 at 09:21:56PM -0700, Simon Glass wrote:

> 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 at chromium.org>
> Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> 
> Reviewed-by: Pratyush Yadav <p.yadav at ti.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210304/68d25c80/attachment.sig>


More information about the U-Boot mailing list