[PATCH] serial: s5p: Use dev_read_addr_ptr() to get base address
Minkyu Kang
promsoft at gmail.com
Tue Nov 28 04:00:34 CET 2023
Hi!
2023년 11월 8일 (수) 14:04, Simon Glass <sjg at chromium.org>님이 작성:
> 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>
applied to u-boot-samsung.
Thanks.
Minkyu Kang.
More information about the U-Boot
mailing list