From patchwork Thu Aug 8 13:03:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maharaja Kennadyrajan X-Patchwork-Id: 11084113 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 79AE617E0 for ; Thu, 8 Aug 2019 13:03:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 673DD28409 for ; Thu, 8 Aug 2019 13:03:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5BFA828B20; Thu, 8 Aug 2019 13:03:31 +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 ED66928849 for ; Thu, 8 Aug 2019 13:03:30 +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=DDWusmOg3Ux7ORLLAtoReVRU1NhhuBtsjbMNWM1r8rs=; b=CU9L1kfMwCvKr7THP16sR9WyRx uyQYUim05IxmQrEfreL2TyA5V7wMsM58DgcAVcNuBbWRAAfUSyd4+isNKEr7pPHn+I+vBFI35socv vD88bvTjr9CCCXvkvVQzxU6QmEi7g5IPRIZJQ/2i+x9J1mfGgUOiUmJp14BeIizYwVyXJ2tDeP4YB SSkpuD6VQ7MPG+uMqGTdMbBGeA4wqiwfl0cAdVV31ohF9kg/ai0CzlF1JLI2UTvAxjMoiahbdnDMJ CKCyAej+CpdJyOdX8ex72Fp4zDVJjeLgs0HgV90nNVHTKY32ZBe9MXSyHFw/esqjRnP8l8h4BG0DJ tVqLO7uw==; 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 1hvi4m-0008Dc-O2; Thu, 08 Aug 2019 13:03:28 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hvi4e-00085D-8O for ath11k@lists.infradead.org; Thu, 08 Aug 2019 13:03:22 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id EF5A7608FF; 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=1565269400; bh=87VYN6lpSyGktz6cowrb+nb2rSHcuJhV60MJdN9JwIs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JYXct5+KAbUk6QDftN9Ohnwe4u0QCKPvbyuxHNHlp/tNPr1NaPfrG5T4HqFaN6UgP Wy6MLXycsuHMJlNvOT45tkCmAfU4C32fyLGR+PkF8H5nbicWwHA3kyaM3NRn40/7rH T6E0N0VhG1IKyzBFLzMh98bf262e71gXxPVGa89w= 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 AEFEE607DE; Thu, 8 Aug 2019 13:03:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565269399; bh=87VYN6lpSyGktz6cowrb+nb2rSHcuJhV60MJdN9JwIs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jaK9vM1ChASnvlS3A6S21xZrV0C7JaJyMlF9KGa7TnevotpUNZ1tBeGHi2z5836B5 SOSW1G6EHwOAxq+0Z8I0eEoTHPeuy/jxyu+tMMuEPRRcD9rTNLnbW48nSlX2Be98hF idrH1ogYQEaiC0cbxTalTZFMYiLab54R3Oy5wPXw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AEFEE607DE 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 06/15] ath11k: Rename ath11k_base struct from 'sc' to 'ab in debug.c Date: Thu, 8 Aug 2019 18:33:03 +0530 Message-Id: <1565269392-2838-7-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_060321_000113_EE21336F X-CRM114-Status: UNSURE ( 8.62 ) 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.c file. Signed-off-by: Maharaja Kennadyrajan --- drivers/net/wireless/ath/ath11k/debug.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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); }