aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/debug.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-09-22 13:35:34 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2014-09-29 07:29:23 -0400
commitbabcb3edd942927091ef5e5b284ffc657c652023 (patch)
tree0deb32a455b883fc2bae8bd7d9b16e89be95e828 /drivers/net/wireless/ath/ath10k/debug.h
parent7869b4faf53e9d25212b17fcbc59dce22324fce7 (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.h6
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
41extern unsigned int ath10k_debug_mask; 41extern 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, ...);
46void ath10k_print_driver_info(struct ath10k *ar); 46void ath10k_print_driver_info(struct ath10k *ar);
47 47
48#ifdef CONFIG_ATH10K_DEBUGFS 48#ifdef CONFIG_ATH10K_DEBUGFS