[PATCH 03/15] dm: gpio: Rename get_dir_flags() method to get_flags()
Pratyush Yadav
p.yadav at ti.com
Mon Jan 18 22:54:47 CET 2021
On 15/01/21 07:04AM, 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>
> ---
>
> drivers/gpio/gpio-uclass.c | 30 +++++++++++++++---------------
> drivers/gpio/sandbox.c | 8 ++++----
> drivers/gpio/stm32_gpio.c | 8 ++++----
> drivers/pinctrl/pinctrl-stmfx.c | 8 ++++----
> include/asm-generic/gpio.h | 13 +++++++------
> 5 files changed, 34 insertions(+), 33 deletions(-)
>
Reviewed-by: Pratyush Yadav <p.yadav at ti.com>
--
Regards,
Pratyush Yadav
Texas Instruments India
More information about the U-Boot
mailing list