net: wan: farsync: use new tasklet API
authorEmil Renner Berthing <kernel@esmil.dk>
Thu, 4 Feb 2021 17:39:47 +0000 (18:39 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Feb 2021 20:00:02 +0000 (12:00 -0800)
commit8cc8993cbcee7dd4a8763e70ef46aba327dcac00
tree8f8ce014c77b1daee25350dc011561fba81193af
parent9c2865e3fa426bb4501a161c6b33bb509d535435
net: wan: farsync: use new tasklet API

This converts the driver to use the new tasklet API introduced in
commit 12cc923f1ccc ("tasklet: Introduce new initialization API")

The new API changes the argument passed to callback functions,
but fortunately it is unused so it is straight forward to use
DECLARE_TASKLET rather than DECLARE_TASLKLET_OLD.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Link: https://lore.kernel.org/r/20210204173947.92884-1-kernel@esmil.dk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wan/farsync.c