mbox series

[0/8] staging: wilc1000: remove magic values and handle review comments

Message ID 20200214172250.13026-1-ajay.kathat@microchip.com
Headers show
Series staging: wilc1000: remove magic values and handle review comments | expand


Ajay Singh Feb. 14, 2020, 11:52 a.m. UTC
From: Ajay Singh <ajay.kathat@microchip.com>

This patch series mainly contains changes to remove the magic value for
different registers and define the macros for constant numbers.
Also, it contains few patches to make use FIELD_GET/_PUT macro
to extract the bitfield element.

Ajay Singh (8):
  staging: wilc1000: make use of FIELD_GET/_PREP macro
  staging: wilc1000: remove use of MAX_NUN_INT_THRPT_ENH2 macro
  staging: wilc1000: refactor interrupt handling for sdio
  staging: wilc1000: make use of ALIGN macro
  staging: wilc1000: use commmon function to set SDIO block size
  staging: wilc1000: define macros for different register address for
  staging: wilc1000: use short name for hif local variable in
  staging: wilc1000: define macros to replace magic number values

 drivers/staging/wilc1000/cfg80211.c |   2 +-
 drivers/staging/wilc1000/mon.c      |   2 +-
 drivers/staging/wilc1000/netdev.h   |   2 -
 drivers/staging/wilc1000/sdio.c     | 281 ++++++++++------------------
 drivers/staging/wilc1000/spi.c      |  23 ++-
 drivers/staging/wilc1000/wlan.c     | 128 +++++++------
 drivers/staging/wilc1000/wlan.h     |  96 +++++++++-
 7 files changed, 271 insertions(+), 263 deletions(-)