From patchwork Tue Jun 18 15:34:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 167175 Delivered-To: patches@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4375277ilk; Tue, 18 Jun 2019 08:35:02 -0700 (PDT) X-Received: by 2002:ac2:514f:: with SMTP id q15mr12878513lfd.145.1560872101740; Tue, 18 Jun 2019 08:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560872101; cv=none; d=google.com; s=arc-20160816; b=gSkjoYWyiZ6O0Tb319vNfnmhmd9eeoV9LFn889zto8lMrNPhvL7IyAD/YxkXjgmyfR oOlESa+a54XmDjxu2SIog7x/uTpo2eiH4rx7weE3+c4Ks/C4a7uTncaNfjQwAwcKQCep zZw1rVZLwMrqfIYO1GlC+h4oDNkslqdgMn/F88IA0eHc9FZjwu5YQMC07sOlwKP1NDuM m6+vMwB179i250aynfUmkJBHjMMJAtH1zgCIdjMY4zRuphAeYXPIz5aziPBflTmElzjH 9Kil9lifRxCTlO8rNdh+euwAu65lZz45spcaMHcgMoLmVtOD5n0EVP/5GyWaj/7jv83e vgTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZXFe8l122poOCFrcN8cZI3D2EE1Nc366dY+GJ8RNKw4=; b=J+6EA956+n6K+6sIA+JBep8FxS89r1hSjKeOtfghM31HQ+ESHOui5j8a19EGHyeJpF W4SshTMNgWPJbiYBzjtKwga3FwbrrbxiB9lY4mRHwgCjXMVOF2PZroA+cJaqFXk07Qcy H+4skLMeWlXlIrEKMnnzDp5TCy+/9Dybh3K2lGoZ7l9+ghbwF/9DVo55R4CcQceJCytP 4BgNLidziSQNC9YfPCQe1RaKYVAKEyYRaLtq8Abdiy4nTM38TK20BLslQ5na2lYtn4qb 5hRiZRcVOIHUAJfvLrg8AhET12MAl4JsOjO3HBC9IRzaycg3Jso5Bkuqc6D89ikrRJRF Cq+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VBR0Zcst; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id x9sor3858177lfa.69.2019.06.18.08.35.00 for (Google Transport Security); Tue, 18 Jun 2019 08:35:00 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VBR0Zcst; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZXFe8l122poOCFrcN8cZI3D2EE1Nc366dY+GJ8RNKw4=; b=VBR0Zcst/y6Zg7oIQ4mCiOZS9J4Gla0OUrgxhrMyHzEX3xyIlkxoYPJ5WnVcOwRdPe xWKodz+F4ubwZAi3LVLAOmbh3sGvqYCT4fb7hu9NqFdIV8folFmY/Iw2nC4vj+54N0DQ 3rhY0tHUiuUUPz7ADBDPvIzCWmjyiTTvPnzP5PYVyo8DOLizYbCzaRYXvaKR3Jds24pY 83Z6HVJhtk3eDVKic08lSLmasQr0e3102/hWgIOKrkdAMHO6PgYjuDAvRZJs9o6iJFSR mcjHJjyR26i8a4mjI/ZXNE4cTrnxyN94674N5liojrdPmAoewMaZorggNXMMnPNLjTDh EVRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZXFe8l122poOCFrcN8cZI3D2EE1Nc366dY+GJ8RNKw4=; b=hJ+zgr7ouu0HhfEaISSprLYZLaYuCf8ZE2Hf2nrPKzB46JScscoyNe4bE/8pKQqCMi 7WAUX49U6479GFYGdSf7ZmpvYo2cEwf2t0hW8TJKoVmo37eV/OjmAY7O+0XbmCDBHKQa vtI0AnLIqBzW/h7NInv758TzJSxGpSt1U+8SUqahroXMCrXwA8yvS9Q7YHfbehUnofPE Wt3xS2Eap9AfF1WMmWW+nLvpZixtYsEbr3rsy9XXRINKbO5jHbxXL0kF/pk8EalXd9+k X33P9dfPwIIVJSSSTibzHVMT4TkIvI/d0QX/blRAxDeRryPKUl6t65j7pTniaSS9VZcd yEFw== X-Gm-Message-State: APjAAAXrZZH/WTl0bLs/r81sCqr7M11eym8mAOx0k3bsWhurPgpAThsA U5uig5ipvNg19quOmaJg4sBXXmjt X-Google-Smtp-Source: APXvYqyOREFdkP4FC4HW7yzVMISId5ZhI6EQ+UQ/bNuv27HzdT0y6uvxlbXF6tdziRwwwuG91a5bpw== X-Received: by 2002:a19:750b:: with SMTP id y11mr21457683lfe.16.1560872099899; Tue, 18 Jun 2019 08:34:59 -0700 (PDT) Return-Path: Received: from localhost.localdomain (h-158-174-22-210.NA.cust.bahnhof.se. [158.174.22.210]) by smtp.gmail.com with ESMTPSA id d15sm2203121lfq.76.2019.06.18.08.34.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jun 2019 08:34:59 -0700 (PDT) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson , Adrian Hunter , Douglas Anderson Cc: Brian Norris , Shawn Lin , Guenter Roeck , Heiko Stuebner , Kalle Valo , Arend Van Spriel , linux-wireless@vger.kernel.org Subject: [PATCH 1/7] mmc: sdio: Turn sdio_run_irqs() into static Date: Tue, 18 Jun 2019 17:34:42 +0200 Message-Id: <20190618153448.27145-2-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190618153448.27145-1-ulf.hansson@linaro.org> References: <20190618153448.27145-1-ulf.hansson@linaro.org> All external users of sdio_run_irqs() have converted into using the preferred sdio_signal_irq() interface, thus not calling the function directly any more. Avoid further new users of it, by turning it into static. Suggested-by: Douglas Anderson Signed-off-by: Ulf Hansson --- drivers/mmc/core/sdio_irq.c | 3 +-- include/linux/mmc/host.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) -- 2.17.1 Reviewed-by: Douglas Anderson diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c index 9f54a259a1b3..0bcc5e83bd1a 100644 --- a/drivers/mmc/core/sdio_irq.c +++ b/drivers/mmc/core/sdio_irq.c @@ -92,7 +92,7 @@ static int process_sdio_pending_irqs(struct mmc_host *host) return ret; } -void sdio_run_irqs(struct mmc_host *host) +static void sdio_run_irqs(struct mmc_host *host) { mmc_claim_host(host); if (host->sdio_irqs) { @@ -103,7 +103,6 @@ void sdio_run_irqs(struct mmc_host *host) } mmc_release_host(host); } -EXPORT_SYMBOL_GPL(sdio_run_irqs); void sdio_irq_work(struct work_struct *work) { diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index ecb7972e2423..a9b12322c775 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -504,7 +504,6 @@ static inline void mmc_signal_sdio_irq(struct mmc_host *host) wake_up_process(host->sdio_irq_thread); } -void sdio_run_irqs(struct mmc_host *host); void sdio_signal_irq(struct mmc_host *host); #ifdef CONFIG_REGULATOR