[PATCH] serial: s5p: Use dev_read_addr_ptr() to get base address
Simon Glass
sjg at chromium.org
Wed Nov 8 05:23:47 CET 2023
On Tue, 7 Nov 2023 at 13:13, Sam Protsenko <semen.protsenko at linaro.org> wrote:
>
> As the address read from device tree is being cast to a pointer, it's
> better to use dev_read_addr_ptr() API for getting that address. The more
> detailed explanation can be found in commit a12a73b66476 ("drivers: use
> dev_read_addr_ptr when cast to pointer").
>
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
> ---
> drivers/serial/serial_s5p.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list