On Mon, 3 Aug 2020 at 23:15, Masahiro Yamada
wrote:
>
> It is strange to use devfdt_get_addr_ptr(), then cast the pointer
> back to uint32 because you could use devfdt_get_addr() without casting.
>
> Convert it to dev_read_addr(), which is capable to CONFIG_OF_LIVE.
>
> Signed-off-by: Masahiro Yam
It is strange to use devfdt_get_addr_ptr(), then cast the pointer
back to uint32 because you could use devfdt_get_addr() without casting.
Convert it to dev_read_addr(), which is capable to CONFIG_OF_LIVE.
Signed-off-by: Masahiro Yamada
---
drivers/gpio/at91_gpio.c | 2 +-
1 file changed, 1 ins
2 matches
Mail list logo