commit | 4ea1fa7fb2328bead15efe2092aeb178cbfabc46 | [log] [tgz] |
---|---|---|
author | Stephan Gerhold <stephan@gerhold.net> | Fri Jul 02 18:00:13 2021 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Jul 14 16:47:57 2021 -0400 |
tree | 5d7d2e1b3b270dfc71cc857d75a3b198be6d7dad | |
parent | df839d5fb631a64185e085c1542a47ad83204937 [diff] |
timer: nomadik-mtu: Use dev_read_addr_ptr() 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@gerhold.net> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>