diff options
author | Joe Perches <joe@perches.com> | 2014-09-22 13:35:34 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-09-29 07:29:23 -0400 |
commit | babcb3edd942927091ef5e5b284ffc657c652023 (patch) | |
tree | 0deb32a455b883fc2bae8bd7d9b16e89be95e828 /drivers/net/wireless/ath/ath10k/debug.h | |
parent | 7869b4faf53e9d25212b17fcbc59dce22324fce7 (diff) |
ath: change logging functions to return void
The return values are not used by callers of these functions
so change the functions to return void.
Other miscellanea:
o add __printf verification to wil6210 logging functions
No format/argument mismatches found
Acked-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/debug.h')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/debug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.h b/drivers/net/wireless/ath/ath10k/debug.h index d6276fea1adf..4ae0d8030dce 100644 --- a/drivers/net/wireless/ath/ath10k/debug.h +++ b/drivers/net/wireless/ath/ath10k/debug.h | |||
@@ -40,9 +40,9 @@ enum ath10k_debug_mask { | |||
40 | 40 | ||
41 | extern unsigned int ath10k_debug_mask; | 41 | extern unsigned int ath10k_debug_mask; |
42 | 42 | ||
43 | __printf(2, 3) int ath10k_info(struct ath10k *ar, const char *fmt, ...); | 43 | __printf(2, 3) void ath10k_info(struct ath10k *ar, const char *fmt, ...); |
44 | __printf(2, 3) int ath10k_err(struct ath10k *ar, const char *fmt, ...); | 44 | __printf(2, 3) void ath10k_err(struct ath10k *ar, const char *fmt, ...); |
45 | __printf(2, 3) int ath10k_warn(struct ath10k *ar, const char *fmt, ...); | 45 | __printf(2, 3) void ath10k_warn(struct ath10k *ar, const char *fmt, ...); |
46 | void ath10k_print_driver_info(struct ath10k *ar); | 46 | void ath10k_print_driver_info(struct ath10k *ar); |
47 | 47 | ||
48 | #ifdef CONFIG_ATH10K_DEBUGFS | 48 | #ifdef CONFIG_ATH10K_DEBUGFS |