Message ID | 1392300547-23365-2-git-send-email-ulf.hansson@linaro.org |
---|---|
State | Accepted |
Commit | 0ec80c29a3c6339a840a797e4fc9cfdb419fbb3f |
Headers | show
Return-Path: <patchwork-forward+bncBDF57NG2XIHRBDFE6OLQKGQEZWQ4XOQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f69.google.com (mail-vb0-f69.google.com [209.85.212.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B5D54202E2 for <linaro@patches.linaro.org>; Thu, 13 Feb 2014 14:09:17 +0000 (UTC) Received: by mail-vb0-f69.google.com with SMTP id m10sf22514047vbh.0 for <linaro@patches.linaro.org>; Thu, 13 Feb 2014 06:09:16 -0800 (PST) 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=m8B9uvRmfyA+yJfD6EMVw+zyLABtaYPtXSWbATesvqk=; b=TZxznHrMfAeGfSZ/mTwKf0Am2/UMEBwBgovSKqK+wsqBAriLRGKhPSkwT9ENfHWYOz W2b9n26GrvlMgtsXlEuDum+WEA0yNJuzIpvr1mR61f4ML+7CaRvvm425vV/pWdFGu6et dvzY6MyGIVswhrhqS5cMwHtULnPs3Jejl0HQ+mgse9ouLurfS9TX6u8lJDzh+9x0ggG6 sr62LLY5cb7KmkV7CcvLYhjhqVPDNmPClKYcGRoa7d3+pQuuFiuVvVEiR863W2djzzMS 2qdOyglbMLionQVyVFgvQTZkT7R4K1piPH0L31puCtnc9dQkTIls6HO1meXwBpm85IQr Nlrg== X-Gm-Message-State: ALoCoQnoGyf8suh6MPSskrpqNt0CBesvT9lbHIzSr2Io36o23cjtus6OjrMjOpIL3TkgwfYfKrnM X-Received: by 10.236.121.4 with SMTP id q4mr534399yhh.34.1392300556528; Thu, 13 Feb 2014 06:09:16 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.20.100 with SMTP id 91ls3372371qgi.18.gmail; Thu, 13 Feb 2014 06:09:16 -0800 (PST) X-Received: by 10.52.246.42 with SMTP id xt10mr907645vdc.9.1392300556397; Thu, 13 Feb 2014 06:09:16 -0800 (PST) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id ke3si681343veb.103.2014.02.13.06.09.16 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Feb 2014 06:09:16 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id ks9so8336497vcb.11 for <patchwork-forward@linaro.org>; Thu, 13 Feb 2014 06:09:16 -0800 (PST) X-Received: by 10.220.99.72 with SMTP id t8mr1129138vcn.10.1392300556290; Thu, 13 Feb 2014 06:09:16 -0800 (PST) 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 u4csp28403vcz; Thu, 13 Feb 2014 06:09:15 -0800 (PST) X-Received: by 10.180.89.211 with SMTP id bq19mr6523824wib.58.1392300555226; Thu, 13 Feb 2014 06:09:15 -0800 (PST) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by mx.google.com with ESMTPS id d5si3908441wik.26.2014.02.13.06.09.14 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Feb 2014 06:09:15 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.177 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=209.85.212.177; Received: by mail-wi0-f177.google.com with SMTP id e4so8616664wiv.16 for <patches@linaro.org>; Thu, 13 Feb 2014 06:09:14 -0800 (PST) X-Received: by 10.180.182.199 with SMTP id eg7mr6676280wic.13.1392300554593; Thu, 13 Feb 2014 06:09:14 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id q15sm4823177wjw.18.2014.02.13.06.09.12 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Feb 2014 06:09:13 -0800 (PST) From: Ulf Hansson <ulf.hansson@linaro.org> To: Russell King <linux@arm.linux.org.uk>, linux-arm-kernel@lists.infradead.org Cc: Alessandro Rubini <rubini@unipv.it>, Linus Walleij <linus.walleij@linaro.org>, Wolfram Sang <wsa@the-dreams.de>, Chris Ball <chris@printf.net>, Mark Brown <broonie@kernel.org>, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-spi@vger.kernel.org, linux-mmc@vger.kernel.org, Ulf Hansson <ulf.hansson@linaro.org> Subject: [PATCH V2 12/17] i2c: nomadik: Remove redundant call to pm_runtime_disable Date: Thu, 13 Feb 2014 15:09:03 +0100 Message-Id: <1392300547-23365-2-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1392300547-23365-1-git-send-email-ulf.hansson@linaro.org> References: <1392300547-23365-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.220.180 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c index 5faf9e2..d800d0f 100644 --- a/drivers/i2c/busses/i2c-nomadik.c +++ b/drivers/i2c/busses/i2c-nomadik.c @@ -1079,7 +1079,6 @@ static int nmk_i2c_remove(struct amba_device *adev) i2c_clr_bit(dev->virtbase + I2C_CR, I2C_CR_PE); if (res) release_mem_region(res->start, resource_size(res)); - pm_runtime_disable(&adev->dev); return 0; }
The amba bus are responsible for pm_runtime_enable|disable, remove the redundant pm_runtime_disable at driver removal. Cc: Alessandro Rubini <rubini@unipv.it> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> --- Changes in v2: Rebased on top of latest i2c-nomadik branch. --- drivers/i2c/busses/i2c-nomadik.c | 1 - 1 file changed, 1 deletion(-)