diff options
author | Joe Perches <joe@perches.com> | 2015-03-29 18:29:42 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-04-07 20:10:23 +0300 |
commit | 12827fecf4dd47cc6e2b3a37edcdf81b52c9e2fa (patch) | |
tree | a788a7b19a67992cac49b9ea113b5e0d14b8fb7a /drivers/net/wireless/iwlwifi/iwl-config.h | |
parent | cad737dfde3566e3293e884e8b391e2cae7e8068 (diff) | |
download | op-kernel-dev-12827fecf4dd47cc6e2b3a37edcdf81b52c9e2fa.zip op-kernel-dev-12827fecf4dd47cc6e2b3a37edcdf81b52c9e2fa.tar.gz |
wireless: Use bool function returns of true/false instead of 1/0
Use bool constants as the return values instead of 1 and 0.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-config.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-config.h b/drivers/net/wireless/iwlwifi/iwl-config.h index 07e999a..3f33f75 100644 --- a/drivers/net/wireless/iwlwifi/iwl-config.h +++ b/drivers/net/wireless/iwlwifi/iwl-config.h @@ -92,9 +92,9 @@ static inline bool iwl_has_secure_boot(u32 hw_rev, { /* return 1 only for family 8000 B0 */ if ((family == IWL_DEVICE_FAMILY_8000) && (hw_rev & 0xC)) - return 1; + return true; - return 0; + return false; } /* |