wilc1000: use wilc handler as cookie in request_threaded_irq()
authorAjay Singh <ajay.kathat@microchip.com>
Thu, 25 Feb 2021 04:23:10 +0000 (04:23 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Mar 2021 08:26:28 +0000 (10:26 +0200)
commit50773696301bdd083af57bad82bb99779719f0c7
tree7f18f7a6f633d00725222980da5a5ccece4d9b1d
parente21b6e5a54628cd3935f200049d4430c25c54e03
wilc1000: use wilc handler as cookie in request_threaded_irq()

Use same cookie for request_threaded_irq() & free_irq() to properly free
IRQ during module unload. free_irq() already uses *wilc* handler so the
changes are required for request_threaded_irq().

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210225042302.17048-1-ajay.kathat@microchip.com
drivers/net/wireless/microchip/wilc1000/netdev.c