From patchwork Mon Aug 25 12:26:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 35909 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 211BB203C0 for ; Mon, 25 Aug 2014 12:26:49 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id lf10sf116231282pab.1 for ; Mon, 25 Aug 2014 05:26:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=fHKlLrpsll3UYDryJr4J3U8DJF3u0NUoXnVQxSQUyiw=; b=RFA6CpAGWFADrtdYb+6DrOOGcdAgn5y0Gu+ADYuBGweLojw4b/koA4L9ESNPsN/bhQ wHEm9OWx77QQNmB/VqNzPy/V7B/b+YBufZXn0woKifD18c67OxKvX4cKDc20wXh9C+ZG +pN9HWpYaPOpTH8XhI47JZIdxA2Zrg214TnFoQUpPrZLzgHEYuemHFciMd1XSe28Q6Zd EawV1A+JsxRq79ySlNOUujAywYomDhenie4hquJqFLvJLnTW5ei7Dw+mGjkQyhgcsshw sHnceGx5i2Lqv7FvXy+ySfGdjhOxroRKncihrPWQFJ/B6LvUfaq9pmBilI4FT/mDTI+3 Ev3g== X-Gm-Message-State: ALoCoQm+VzZZ2DC8eZ128l24ne+lzfS5o9lqE0LUxk1U2a5JUpGKnavg0xIKI/+qyi3stLpX2pRk X-Received: by 10.66.66.170 with SMTP id g10mr12137693pat.12.1408969604402; Mon, 25 Aug 2014 05:26:44 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.134 with SMTP id x6ls2068031qgx.45.gmail; Mon, 25 Aug 2014 05:26:44 -0700 (PDT) X-Received: by 10.221.68.135 with SMTP id xy7mr1196070vcb.65.1408969604317; Mon, 25 Aug 2014 05:26:44 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id n4si16299394vcf.95.2014.08.25.05.26.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Aug 2014 05:26:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf12so15173279vcb.12 for ; Mon, 25 Aug 2014 05:26:44 -0700 (PDT) X-Received: by 10.220.118.136 with SMTP id v8mr5327365vcq.50.1408969604257; Mon, 25 Aug 2014 05:26:44 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp113273vcb; Mon, 25 Aug 2014 05:26:43 -0700 (PDT) X-Received: by 10.180.38.84 with SMTP id e20mr14908218wik.43.1408969603115; Mon, 25 Aug 2014 05:26:43 -0700 (PDT) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by mx.google.com with ESMTPS id p3si9973231wjz.121.2014.08.25.05.26.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Aug 2014 05:26:43 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.212.173 as permitted sender) client-ip=209.85.212.173; Received: by mail-wi0-f173.google.com with SMTP id f8so2447523wiw.6 for ; Mon, 25 Aug 2014 05:26:42 -0700 (PDT) X-Received: by 10.194.62.19 with SMTP id u19mr2046057wjr.120.1408969602619; Mon, 25 Aug 2014 05:26:42 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id u5sm145337wia.17.2014.08.25.05.26.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Aug 2014 05:26:42 -0700 (PDT) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ian Molton , Chris Ball Cc: Geert Uytterhoeven , Linux-sh list , linux-kernel@vger.kernel.org, Ulf Hansson Subject: [PATCH 12/12] mmc: tmio: Remove library functions for system PM Date: Mon, 25 Aug 2014 14:26:04 +0200 Message-Id: <1408969564-6335-13-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1408969564-6335-1-git-send-email-ulf.hansson@linaro.org> References: <1408969564-6335-1-git-send-email-ulf.hansson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , These library functions aren't used and nor needed, let's remove them. Signed-off-by: Ulf Hansson --- drivers/mmc/host/tmio_mmc.h | 5 ----- drivers/mmc/host/tmio_mmc_pio.c | 23 ----------------------- 2 files changed, 28 deletions(-) diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index 2ad52d6..a34ecbe 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -144,11 +144,6 @@ static inline void tmio_mmc_abort_dma(struct tmio_mmc_host *host) } #endif -#ifdef CONFIG_PM_SLEEP -int tmio_mmc_host_suspend(struct device *dev); -int tmio_mmc_host_resume(struct device *dev); -#endif - #ifdef CONFIG_PM int tmio_mmc_host_runtime_suspend(struct device *dev); int tmio_mmc_host_runtime_resume(struct device *dev); diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c index 494ecc5..a993208 100644 --- a/drivers/mmc/host/tmio_mmc_pio.c +++ b/drivers/mmc/host/tmio_mmc_pio.c @@ -1139,29 +1139,6 @@ void tmio_mmc_host_remove(struct tmio_mmc_host *host) } EXPORT_SYMBOL(tmio_mmc_host_remove); -#ifdef CONFIG_PM_SLEEP -int tmio_mmc_host_suspend(struct device *dev) -{ - struct mmc_host *mmc = dev_get_drvdata(dev); - struct tmio_mmc_host *host = mmc_priv(mmc); - - tmio_mmc_disable_mmc_irqs(host, TMIO_MASK_ALL); - return 0; -} -EXPORT_SYMBOL(tmio_mmc_host_suspend); - -int tmio_mmc_host_resume(struct device *dev) -{ - struct mmc_host *mmc = dev_get_drvdata(dev); - struct tmio_mmc_host *host = mmc_priv(mmc); - - tmio_mmc_enable_dma(host, true); - - return 0; -} -EXPORT_SYMBOL(tmio_mmc_host_resume); -#endif - #ifdef CONFIG_PM int tmio_mmc_host_runtime_suspend(struct device *dev) {