[PATCH v4 0/2] wireless: ray_cs: Improve card_status[]

Benjamin Stürz posted 2 patches 4 years, 2 months ago
drivers/net/wireless/ray_cs.c | 33 ++++++++++++++++++---------------
1 file changed, 18 insertions(+), 15 deletions(-)
[PATCH v4 0/2] wireless: ray_cs: Improve card_status[]
Posted by Benjamin Stürz 4 years, 2 months ago
This small patch series improves the card_status[] array in ray_cs.c.
It essentially replaces comments describing the index with designated
initializers using enum constants as indexes.
It also makes the array const because it shouldn't be modified at
runtime.

Benjamin Stürz (2):
  ray_cs: Improve card_status[]
  ray_cs: Make card_status[] const

 drivers/net/wireless/ray_cs.c | 33 ++++++++++++++++++---------------
 1 file changed, 18 insertions(+), 15 deletions(-)

-- 
2.35.1