]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09ccb3d5648e9a33e4ebc310f6835011b01b3e6f
tree751ef338484b90b544ecba1302f4a37b8830174f
parentb99a59f7a4877775deb9302572a37e053f09cda9
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