staging: wilc1000: refactor interrupt handling for sdio
authorAjay Singh <ajay.kathat@microchip.com>
Fri, 14 Feb 2020 11:52:17 +0000 (11:52 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2020 16:20:11 +0000 (08:20 -0800)
commiteda308be643f70dfec22d6fb7c6de643bc474d35
treedcb66da94c9f948d9f7b775df7560d95394c21a2
parent759af9b84eec238cee2d0e5b42638f6f046b51d3
staging: wilc1000: refactor interrupt handling for sdio

Make use of FIELD_PREP/FIELD_GET macro to refactor the interrupt
handling for SDIO.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/20200214172250.13026-4-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/sdio.c
drivers/staging/wilc1000/spi.c
drivers/staging/wilc1000/wlan.h