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: 20628 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C168424687 for ; Thu, 26 Sep 2013 14:56:54 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id l13sf1073647qcy.1 for ; Thu, 26 Sep 2013 07:56:54 -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=1aSjXhvVRwP3ncb4RVAbvE38p9N3/ShWv2kU84hHwgk=; b=IDwVMJtdkSCfXhw9Ks3I43CN1yRS0IHxVMPiu059enaJ5sNLVCvrSRlYoGcAKMpAkR ZMd0fRg0mPJheY2WlSbJ9p/0kkMXiKl2uNlo4O5cIf+LlMsrXWQXHbkoKfs67PvlN4Wl zQK8OsyYm3r+6Hfybze4MQwdlTKIj0vVDQ8IU/XG0O9qrBSEksVUnZ8f1Unno14MPMlS j5BaegOcKYKPCaY0JKKYK4o40zfWic66/ExmwI0xzM2mYJsta0E4GvTQIqbiUqfkLDeQ GtzFEjLhujhTvFLwblvWedSe+aoxT4i+i7rbW2eBGXR6b/cOQM7Msr0v2cvaTEQNLAtf TzQg== X-Gm-Message-State: ALoCoQksgDA3x2tW9itDRy36TZu36329HpyKoFKfAZmsNuyXtWs5or1LPIH7FIsAmIs9aqEsWZXs X-Received: by 10.236.45.102 with SMTP id o66mr256883yhb.47.1380207414571; Thu, 26 Sep 2013 07:56:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.81.210 with SMTP id c18ls918285qey.37.gmail; Thu, 26 Sep 2013 07:56:54 -0700 (PDT) X-Received: by 10.52.32.129 with SMTP id j1mr42103vdi.55.1380207414456; Thu, 26 Sep 2013 07:56:54 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id dt10si501723vdb.47.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 07:56:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id cz12so975560veb.4 for ; Thu, 26 Sep 2013 07:56:24 -0700 (PDT) X-Received: by 10.52.177.163 with SMTP id cr3mr184908vdc.49.1380207384272; Thu, 26 Sep 2013 07:56:24 -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.220.174.196 with SMTP id u4csp371160vcz; Thu, 26 Sep 2013 07:56:23 -0700 (PDT) X-Received: by 10.15.91.3 with SMTP id r3mr2029850eez.4.1380207383233; Thu, 26 Sep 2013 07:56:23 -0700 (PDT) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx.google.com with ESMTPS id x42si1857826eel.176.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 07:56:23 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.182 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=209.85.215.182; Received: by mail-ea0-f182.google.com with SMTP id o10so609021eaj.13 for ; Thu, 26 Sep 2013 07:56:22 -0700 (PDT) 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> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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: , 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);