atm: idt77252, use setup_timer and mod_timer
authorJan Koniarik <jan.koniarik@trustica.cz>
Wed, 15 Feb 2017 15:59:35 +0000 (16:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2017 18:24:53 +0000 (13:24 -0500)
commitb973154a2278c6af0b0efefafb222e0189959659
treeb010090bfa2ac9b0c6420281a67e73303706f6e4
parent0c921a894c2f01850f39ad6ecb31dd92a9cc9839
atm: idt77252, use setup_timer and mod_timer

Stop accessing timer struct members directly and use setup_timer and
mod_timer helpers intended for that use. It makes the code cleaner and
will allow for easier change of the timer struct internals.

Signed-off-by: Jan Koniarik <jan.koniarik@trustica.cz>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Chas Williams <3chas3@gmail.com>
Cc: <linux-atm-general@lists.sourceforge.net>
Cc: <netdev@vger.kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/idt77252.c