[PATCH] timer: nomadik-mtu: Use dev_read_addr_ptr()
Linus Walleij
linus.walleij at linaro.org
Fri Jul 2 18:35:27 CEST 2021
On Fri, Jul 2, 2021 at 6:00 PM Stephan Gerhold <stephan at gerhold.net> wrote:
> Simplify the code a bit by using dev_read_addr_ptr() instead of
> dev_read_addr(). This avoids having to cast explicitly to the
> struct nomadik_mtu_regs.
>
> Signed-off-by: Stephan Gerhold <stephan at gerhold.net>
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the U-Boot
mailing list