diff mbox series

[06/15] ath11k: Rename ath11k_base struct from 'sc' to 'ab in debug.c

Message ID 1565269392-2838-7-git-send-email-mkenna@codeaurora.org (mailing list archive)
State Accepted
Commit f3ce3b075ce942b3de18462ca144b79b0bb88f04
Delegated to: Kalle Valo
Headers show
Series ath11k: Rename ath11k_base struct from 'sc' to 'ab | expand

Commit Message

Maharaja Kennadyrajan Aug. 8, 2019, 1:03 p.m. UTC
To avoid confusion and better readability, renamed the
ath11k_base struct from 'sc' to 'ab' in debug.c file.

Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/debug.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/debug.c b/drivers/net/wireless/ath/ath11k/debug.c
index 4fd99417585c..e62a409185f4 100644
--- a/drivers/net/wireless/ath/ath11k/debug.c
+++ b/drivers/net/wireless/ath/ath11k/debug.c
@@ -12,7 +12,7 @@ 
 #include "debug_htt_stats.h"
 #include "peer.h"
 
-void ath11k_info(struct ath11k_base *sc, const char *fmt, ...)
+void ath11k_info(struct ath11k_base *ab, const char *fmt, ...)
 {
 	struct va_format vaf = {
 		.fmt = fmt,
@@ -21,12 +21,12 @@  void ath11k_info(struct ath11k_base *sc, const char *fmt, ...)
 
 	va_start(args, fmt);
 	vaf.va = &args;
-	dev_info(sc->dev, "%pV", &vaf);
+	dev_info(ab->dev, "%pV", &vaf);
 	/* TODO: Trace the log */
 	va_end(args);
 }
 
-void ath11k_err(struct ath11k_base *sc, const char *fmt, ...)
+void ath11k_err(struct ath11k_base *ab, const char *fmt, ...)
 {
 	struct va_format vaf = {
 		.fmt = fmt,
@@ -35,12 +35,12 @@  void ath11k_err(struct ath11k_base *sc, const char *fmt, ...)
 
 	va_start(args, fmt);
 	vaf.va = &args;
-	dev_err(sc->dev, "%pV", &vaf);
+	dev_err(ab->dev, "%pV", &vaf);
 	/* TODO: Trace the log */
 	va_end(args);
 }
 
-void ath11k_warn(struct ath11k_base *sc, const char *fmt, ...)
+void ath11k_warn(struct ath11k_base *ab, const char *fmt, ...)
 {
 	struct va_format vaf = {
 		.fmt = fmt,
@@ -49,7 +49,7 @@  void ath11k_warn(struct ath11k_base *sc, const char *fmt, ...)
 
 	va_start(args, fmt);
 	vaf.va = &args;
-	dev_warn_ratelimited(sc->dev, "%pV", &vaf);
+	dev_warn_ratelimited(ab->dev, "%pV", &vaf);
 	/* TODO: Trace the log */
 	va_end(args);
 }