OSDN Git Service

staging: wilc1000: replace ISWILC1000() macro with inline function
authorAjay Singh <ajay.kathat@microchip.com>
Fri, 3 Aug 2018 10:56:14 +0000 (16:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Aug 2018 14:15:32 +0000 (16:15 +0200)
commit2345ef30ea30cdb91f08e54eff3b5e807a0d4cc9
tree375efd6ef916fd20944beb2ba5076362a7debc7c
parente61c7a1caa97b5e90e7dee927231cdd4cc71d434
staging: wilc1000: replace ISWILC1000() macro with inline function

Cleanup patch to avoid below checkpatch issue by replacing the macro
with inline function.

Macro argument 'id' may be better as '(id)' to avoid precedence issues.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan.h