Message ID | 1391529538-21685-13-git-send-email-ulf.hansson@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDF57NG2XIHRB6M4YSLQKGQE6UVE67I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7CDBD202FA for <linaro@patches.linaro.org>; Tue, 4 Feb 2014 15:59:54 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wp4sf35017529obc.1 for <linaro@patches.linaro.org>; Tue, 04 Feb 2014 07:59:53 -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=5/eMFaH1hj8M0dDUoz+9gSy3KI95LEtO+kT1c461e+8=; b=AqzaptF0pwLls1RkURXEvJcKCHRUkuXn7cMeLbSPI1knMVSlw4hCNAFPjg6t3Ypa9D Fl+QU1xqOy5MiIubMbU3QzB20UDTGSbvMoup6Evk8Ni8hhdjOd8nbdvzmthFf8J83xLz MuGHq/4gCs1+emc5foH0lWV3ATWwR1RZ/+AZCeUhZ9OBAC8f7a4F3dJ2TCmvFi+WOeHW cm2cafq8taABOwpWU7sYklTLffCAhvWDRZEBRQMLT6pNFVsqTuzXGTmDj6hz+xqz54/o oZsurfL4UZED5Lyz1eiGsa3Hr8nUqo5zQTvpJ8DVms8jZnAar5AY0athNYRPEofDCo0C 73Rw== X-Gm-Message-State: ALoCoQmuuhkhj/8UEK2EmyVROd5v3IAUa/sCDfmWoZCiMnpUvw8GuTRC7kx2PQPehMban4+sOmTn X-Received: by 10.182.108.136 with SMTP id hk8mr16463886obb.11.1391529593558; Tue, 04 Feb 2014 07:59:53 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.37.135 with SMTP id r7ls2486107qgr.25.gmail; Tue, 04 Feb 2014 07:59:53 -0800 (PST) X-Received: by 10.52.30.230 with SMTP id v6mr28043234vdh.6.1391529593381; Tue, 04 Feb 2014 07:59:53 -0800 (PST) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id tj7si8315640vdc.150.2014.02.04.07.59.53 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 07:59:53 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.175 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.175; Received: by mail-vc0-f175.google.com with SMTP id ij19so5890878vcb.20 for <patchwork-forward@linaro.org>; Tue, 04 Feb 2014 07:59:53 -0800 (PST) X-Received: by 10.58.209.36 with SMTP id mj4mr373251vec.47.1391529593301; Tue, 04 Feb 2014 07:59:53 -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 u4csp245386vcz; Tue, 4 Feb 2014 07:59:52 -0800 (PST) X-Received: by 10.112.142.230 with SMTP id rz6mr23193836lbb.0.1391529591225; Tue, 04 Feb 2014 07:59:51 -0800 (PST) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) by mx.google.com with ESMTPS id b5si12968840lbp.58.2014.02.04.07.59.50 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 07:59:51 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.47 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=209.85.215.47; Received: by mail-la0-f47.google.com with SMTP id hr17so6543439lab.6 for <patches@linaro.org>; Tue, 04 Feb 2014 07:59:50 -0800 (PST) X-Received: by 10.112.97.173 with SMTP id eb13mr1504544lbb.65.1391529590286; Tue, 04 Feb 2014 07:59:50 -0800 (PST) Received: from localhost.localdomain (host-95-199-220-119.mobileonline.telia.com. [95.199.220.119]) by mx.google.com with ESMTPSA id dm8sm35906603lad.7.2014.02.04.07.59.47 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 07:59:49 -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 12/17] i2c: nomadik: Remove redundant call to pm_runtime_disable Date: Tue, 4 Feb 2014 16:58:53 +0100 Message-Id: <1391529538-21685-13-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1391529538-21685-1-git-send-email-ulf.hansson@linaro.org> References: <1391529538-21685-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.175 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 840bcf9..42c9e51 100644 --- a/drivers/i2c/busses/i2c-nomadik.c +++ b/drivers/i2c/busses/i2c-nomadik.c @@ -1105,7 +1105,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> --- drivers/i2c/busses/i2c-nomadik.c | 1 - 1 file changed, 1 deletion(-)