From patchwork Thu Sep 26 14:54:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 2948731 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2F3559F288 for ; Thu, 26 Sep 2013 14:57:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 185F2202AB for ; Thu, 26 Sep 2013 14:57:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DA794202D1 for ; Thu, 26 Sep 2013 14:57:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751801Ab3IZO41 (ORCPT ); Thu, 26 Sep 2013 10:56:27 -0400 Received: from mail-ea0-f179.google.com ([209.85.215.179]:34836 "EHLO mail-ea0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753414Ab3IZO4X (ORCPT ); Thu, 26 Sep 2013 10:56:23 -0400 Received: by mail-ea0-f179.google.com with SMTP id b10so617802eae.10 for ; Thu, 26 Sep 2013 07:56:22 -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=1aSjXhvVRwP3ncb4RVAbvE38p9N3/ShWv2kU84hHwgk=; b=PmcPta5H7QmtrFivYKih5SJmOTSCmzq/6r4INwrGXJ7qYuNF4M8Z+H09vZc3BZNzRd iSvpzxLM1ItjjoU9oAOQYntqbFlem3PHN61W2o5EPckp/T8uHEKaC1RRdhLeL51zE+bK xk3X2Di/D90g2IoxW2SFLNyUid3uK4gXUe5fiZ0ALeM8TAXRHG4msWxzUsAqxyx1vZvj ZAsN3kX0qEwaqgOqVRoWZpb28uMRU04ESsQ64cbVpow5vPLOjDyqiL0wXd7iBrNIaiDw O+gZTI/4/wrnobxa3s5K1XXCwLgHm9er3R9VyFfs1vpfa2e9uuQxWsVmxBpOhPPMDbxd x71w== X-Gm-Message-State: ALoCoQlBNAJre+awtRH18D+IsZbK2NGcZgT11bDKZYHgsimf+DUhTPFRAXCv/tkASt3UAVWc0fUg X-Received: by 10.14.184.132 with SMTP id s4mr1908964eem.13.1380207382662; Thu, 26 Sep 2013 07:56:22 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id x47sm4813555eea.16.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 07:56:22 -0700 (PDT) From: Ulf Hansson To: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Chris Ball Cc: Ulf Hansson Subject: [PATCH 27/27] mmc: core: Remove deprecated mmc_suspend|resume_host APIs Date: Thu, 26 Sep 2013 16:54:52 +0200 Message-Id: <1380207292-16968-28-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380207292-16968-1-git-send-email-ulf.hansson@linaro.org> References: <1380207292-16968-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=-9.3 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 The are no more users of the deprecated mmc_suspend|resume_host API, so let's remove it. Signed-off-by: Ulf Hansson --- drivers/mmc/core/core.c | 22 ---------------------- include/linux/mmc/host.h | 3 --- 2 files changed, 25 deletions(-) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 006ead2..be24b87 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -2632,28 +2632,6 @@ EXPORT_SYMBOL(mmc_cache_ctrl); #ifdef CONFIG_PM -/** - * mmc_suspend_host - suspend a host - * @host: mmc host - */ -int mmc_suspend_host(struct mmc_host *host) -{ - /* This function is deprecated */ - return 0; -} -EXPORT_SYMBOL(mmc_suspend_host); - -/** - * mmc_resume_host - resume a previously suspended host - * @host: mmc host - */ -int mmc_resume_host(struct mmc_host *host) -{ - /* This function is deprecated */ - return 0; -} -EXPORT_SYMBOL(mmc_resume_host); - /* Do the card removal on suspend if card is assumed removeable * Do that in pm notifier while userspace isn't yet frozen, so we will be able to sync the card. diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 3b0c33a..a579d3a 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -382,9 +382,6 @@ static inline void *mmc_priv(struct mmc_host *host) #define mmc_classdev(x) (&(x)->class_dev) #define mmc_hostname(x) (dev_name(&(x)->class_dev)) -int mmc_suspend_host(struct mmc_host *); -int mmc_resume_host(struct mmc_host *); - int mmc_power_save_host(struct mmc_host *host); int mmc_power_restore_host(struct mmc_host *host);