]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd3b9cf40f74fee23ce5b0782b7214f18be98189
tree8f8ce014c77b1daee25350dc011561fba81193af
parent67ac9e14fdebe6d434eadf17a3464fd89648d5a5
net: wan: farsync: use new tasklet API

This converts the driver to use the new tasklet API introduced in
commit 533266a21b2b ("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