diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2021-07-02 18:00:13 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-14 16:47:57 -0400 |
commit | 0e6956cc7d5c3f050544a268746d79e342d8a40d (patch) | |
tree | 5d7d2e1b3b270dfc71cc857d75a3b198be6d7dad /lib/linux_string.c | |
parent | 1e0b4c07bf3b437471563f9921812bc38f2563d5 (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>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions