diff options
author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2019-12-17 16:14:32 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-18 15:54:55 +0100 |
commit | 6673f2636b41ccafbe48e12a1c393b57a95f084a (patch) | |
tree | 9d4800bdc340a8bb93988495b0870fcda0a9cd68 /drivers/staging/wfx/data_tx.h | |
parent | 700e39e2d17649587704afcde50e908ec863f27f (diff) |
staging: wfx: use boolean appropriately
The field 'uploaded' is used as a boolean, so call it a boolean.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-5-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wfx/data_tx.h')
-rw-r--r-- | drivers/staging/wfx/data_tx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wfx/data_tx.h b/drivers/staging/wfx/data_tx.h index f63e5d8cf929..0fc388db62e0 100644 --- a/drivers/staging/wfx/data_tx.h +++ b/drivers/staging/wfx/data_tx.h @@ -41,7 +41,7 @@ struct tx_policy { struct list_head link; int usage_count; u8 rates[12]; - u8 uploaded; + bool uploaded; }; struct tx_policy_cache { |