staging: wilc1000: define macros to replace magic number values
authorAjay Singh <ajay.kathat@microchip.com>
Fri, 14 Feb 2020 11:52:23 +0000 (11:52 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2020 16:20:12 +0000 (08:20 -0800)
commitb1f17561541c09f775b8a23c3e39d58e56beaff4
tree751ef338484b90b544ecba1302f4a37b8830174f
parent5832cbe21c16f8a443d4dc0fbe34c1ba3e61093c
staging: wilc1000: define macros to replace magic number values

Define macros for global as well as SPI/SDIO specific register to avoid
use of magic numbers.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/20200214172250.13026-9-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.c
drivers/staging/wilc1000/wlan.h