OSDN Git Service

staging: wfx: prefer a bitmask instead of an array of boolean
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:15:20 +0000 (16:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:56:20 +0000 (15:56 +0100)
commit010149e6fbccc48d726afb8e68cdc30c8b703c78
tree8997648a225b0c4b29967d129b2acea71fdb394a
parentc91ba8c8514307c3c60dc2b1015d379b1d01c809
staging: wfx: prefer a bitmask instead of an array of boolean

It is easier to manipulate a int than an array of booleans.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-39-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c
drivers/staging/wfx/sta.h