On Fri, Jul 02, 2021 at 06:00:13PM +0200, Stephan Gerhold 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
> Reviewed-by: Linus Walleij
Applied
On Fri, Jul 2, 2021 at 6:00 PM Stephan Gerhold 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
Reviewed-by: Linus Walleij
Yours,
Linus
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
---
drivers/timer/nomadik-mtu-timer.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git
3 matches
Mail list logo