From patchwork Thu Aug 8 13:03:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maharaja Kennadyrajan X-Patchwork-Id: 11084115 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6A5E214DB for ; Thu, 8 Aug 2019 13:03:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5885B28703 for ; Thu, 8 Aug 2019 13:03:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D44B28876; Thu, 8 Aug 2019 13:03:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C27FA28849 for ; Thu, 8 Aug 2019 13:03:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=sCHkDopVgCWInLnkRK1WXgB/vBoAEgPr2AadWvKLmwU=; b=jJ9FwnANnvuj9AYbRPYNkqOIn7 1lQ/dUc+Symka0WQKeov+ua2seWSZvkDAbGC4N48LN17w/DgOxVWbsv9Z12rsgBie6Gccux98o9ua oLQpJGYHIdpcmmSQyCTWFCdONSSeUYihSOCunvbzz5nOpUvuX7nc5Y3r4giozU7OYWz4I9ZBYRIJa mOUI+RBtE3rXC2IU9g40CD7SvK0iY/Et3zxkPjJHA1R6DkXHm5juUveDCaS8fRknPfq27yIERg2vu oWoMm7ZagS3EttVH1OG5cllv2lzC9TB4Otnt9jV8RKWK8+6lR4hwzfrlvOQKdlc84II+qDGBDq3LV XBU8x5eA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hvi4o-0008Fh-67; Thu, 08 Aug 2019 13:03:30 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hvi4f-00086A-NZ for ath11k@lists.infradead.org; Thu, 08 Aug 2019 13:03:23 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 75F0D6074F; Thu, 8 Aug 2019 13:03:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565269401; bh=3sDwfCsqyQ2NiHmeNp2WBz6qRBcdD/3t29aGPVhd4JA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xie5yACXfKE0cGxR2eoWZXzDPmPUNU9db/RHDjdYPd67sRc0/wV5X1m4WECQKjJc6 HYRg0s6OmKoWbMWWhQmnzi1Hpy6hIw6BTmTMca8taTywpV+0Hh64RGcooiXlg8s4Cn bnTsVfzHGJ47KvjgOAMoIMjqCfQCwG5GgVY4qUow= Received: from che-swdbs-01.qca.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mkenna@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 2D42D607DE; Thu, 8 Aug 2019 13:03:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565269401; bh=3sDwfCsqyQ2NiHmeNp2WBz6qRBcdD/3t29aGPVhd4JA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xie5yACXfKE0cGxR2eoWZXzDPmPUNU9db/RHDjdYPd67sRc0/wV5X1m4WECQKjJc6 HYRg0s6OmKoWbMWWhQmnzi1Hpy6hIw6BTmTMca8taTywpV+0Hh64RGcooiXlg8s4Cn bnTsVfzHGJ47KvjgOAMoIMjqCfQCwG5GgVY4qUow= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2D42D607DE Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=mkenna@codeaurora.org From: Maharaja Kennadyrajan To: ath11k@lists.infradead.org Subject: [PATCH 07/15] ath11k: Rename ath11k_base struct from 'sc' to 'ab in debug.h Date: Thu, 8 Aug 2019 18:33:04 +0530 Message-Id: <1565269392-2838-8-git-send-email-mkenna@codeaurora.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1565269392-2838-1-git-send-email-mkenna@codeaurora.org> References: <1565269392-2838-1-git-send-email-mkenna@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190808_060322_329304_377C8F8B X-CRM114-Status: UNSURE ( 8.74 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maharaja Kennadyrajan MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP To avoid confusion and better readability, renamed the ath11k_base struct from 'sc' to 'ab' in debug.h file. Signed-off-by: Maharaja Kennadyrajan --- drivers/net/wireless/ath/ath11k/debug.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/debug.h b/drivers/net/wireless/ath/ath11k/debug.h index ce1f414a95e9..fac6cb4aa597 100644 --- a/drivers/net/wireless/ath/ath11k/debug.h +++ b/drivers/net/wireless/ath/ath11k/debug.h @@ -100,9 +100,9 @@ enum ath11k_pktlog_enum { ATH11K_PKTLOG_TYPE_LITE_RX = 24, }; -__printf(2, 3) void ath11k_info(struct ath11k_base *sc, const char *fmt, ...); -__printf(2, 3) void ath11k_err(struct ath11k_base *sc, const char *fmt, ...); -__printf(2, 3) void ath11k_warn(struct ath11k_base *sc, const char *fmt, ...); +__printf(2, 3) void ath11k_info(struct ath11k_base *ab, const char *fmt, ...); +__printf(2, 3) void ath11k_err(struct ath11k_base *ab, const char *fmt, ...); +__printf(2, 3) void ath11k_warn(struct ath11k_base *ab, const char *fmt, ...); extern unsigned int ath11k_debug_mask; @@ -131,8 +131,8 @@ static inline void ath11k_dbg_dump(struct ath11k_base *ab, #endif /* CONFIG_ATH11K_DEBUG */ #ifdef CONFIG_ATH11K_DEBUGFS -int ath11k_debug_soc_create(struct ath11k_base *sc); -void ath11k_debug_soc_destroy(struct ath11k_base *sc); +int ath11k_debug_soc_create(struct ath11k_base *ab); +void ath11k_debug_soc_destroy(struct ath11k_base *ab); int ath11k_debug_register(struct ath11k *ar); void ath11k_debug_unregister(struct ath11k *ar); void ath11k_dbg_htt_ext_stats_handler(struct ath11k_base *ab, @@ -168,12 +168,12 @@ static inline int ath11k_debug_is_extd_rx_stats_enabled(struct ath11k *ar) return ar->debug.extd_rx_stats; } #else -static inline int ath11k_debug_soc_create(struct ath11k_base *sc) +static inline int ath11k_debug_soc_create(struct ath11k_base *ab) { return 0; } -static inline void ath11k_debug_soc_destroy(struct ath11k_base *sc) +static inline void ath11k_debug_soc_destroy(struct ath11k_base *ab) { }