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: 4774071 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DA798C033A for ; Mon, 25 Aug 2014 12:27:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1D0EC2010F for ; Mon, 25 Aug 2014 12:27:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3C93A2012B for ; Mon, 25 Aug 2014 12:27:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932409AbaHYM0p (ORCPT ); Mon, 25 Aug 2014 08:26:45 -0400 Received: from mail-wg0-f47.google.com ([74.125.82.47]:47371 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932395AbaHYM0n (ORCPT ); Mon, 25 Aug 2014 08:26:43 -0400 Received: by mail-wg0-f47.google.com with SMTP id b13so12801665wgh.6 for ; Mon, 25 Aug 2014 05:26:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fHKlLrpsll3UYDryJr4J3U8DJF3u0NUoXnVQxSQUyiw=; b=ks1nvPQbu5nsXCJgT0npUaH2X8UFYvODqhdbGy5kApnkTwGAITB9FeWw8xOhNJYD5k up7X6u9r5mTtDbTkig245O2CXkIVinFX4WCodDVci3KohvGmNNtjpSCwOt/EirdHWisw m9ZUtp7KlQbOnJogfo/qH3oWzC/SCmdCTbMuP8J2tM9qeTRcoJ6xF3CslzC/oB5KzGRu 7wyfw+nw8xNdnEmBADH8VJfmKBc+JoWwtzWWfgsCYjTFn8pyVjQItY58v7Du16TqlSPN db4ZVbq+9tIzHkvx4MsXYV1kCvLeKZu9G/veej+mkne23Ar9zFyRrq+ivvBVEFH5rUh2 w9Pg== X-Gm-Message-State: ALoCoQl9LMV7uSUR/DqCMmy+OShUbK5aqtu6v1cryOjefIqOiThWOxxrI/7Q+qeCHkqZ2hra/Hkq 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> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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) {