Message ID | 1392650429-14855-1-git-send-email-ulf.hansson@linaro.org |
---|---|
State | Accepted |
Commit | 0ec80c29a3c6339a840a797e4fc9cfdb419fbb3f |
Headers | show
Return-Path: <patchwork-forward+bncBDF57NG2XIHRBQ6RRCMAKGQETROSD3Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9A50E20143 for <linaro@patches.linaro.org>; Mon, 17 Feb 2014 15:20:36 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id kp14sf37606547pab.6 for <linaro@patches.linaro.org>; Mon, 17 Feb 2014 07:20:35 -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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=PYIKBedNkdbT/HpQXwtRmWBEyC2O4xqXnGyF6nAoISM=; b=jPK5PLXlsPhBu1yeyrKML1/oeeY2+0rrUkyuN2SH+yY0IkuX5O3AbjdFfYRkwdJFle zasSOGRVXmCSfdq++E4IDJfBVDi2gNRb/SXCgfS8Tm1owNnocM7emv8BKaObVK5fXYfx foggJGDVGWLWwQ0/j1Jes922Pr3HM/R0XOyN8GtEEb8qItZ4tVkuUkJpyVssRn8y2lS5 XM/o+v3d2CNM1ck2qhjsOEOrZuXfEsy6C+saOhe7bGatR62xB55BQ6zLi1rfi3qYZqpR r0qqa23yULpOux1L9NnR3D8weLTjqhPtmUidWphtxU+E4LxRcUseDv8D8+z2PBvpgLK5 NqzA== X-Gm-Message-State: ALoCoQn3Bd53RPSfij2UFuuuZYz0lyOMe//hXI7nt9+toWDA9qZrJVvn51YlPkp1KTXzaf7vRWMm X-Received: by 10.66.141.231 with SMTP id rr7mr2351177pab.47.1392650435870; Mon, 17 Feb 2014 07:20:35 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.49 with SMTP id v46ls913632qge.6.gmail; Mon, 17 Feb 2014 07:20:35 -0800 (PST) X-Received: by 10.52.170.241 with SMTP id ap17mr14567988vdc.13.1392650435756; Mon, 17 Feb 2014 07:20:35 -0800 (PST) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id w5si4539164vcl.66.2014.02.17.07.20.35 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 07:20:35 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.172 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.172; Received: by mail-ve0-f172.google.com with SMTP id c14so12365718vea.31 for <patchwork-forward@linaro.org>; Mon, 17 Feb 2014 07:20:35 -0800 (PST) X-Received: by 10.220.98.204 with SMTP id r12mr438080vcn.48.1392650435623; Mon, 17 Feb 2014 07:20:35 -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 u4csp146454vcz; Mon, 17 Feb 2014 07:20:35 -0800 (PST) X-Received: by 10.112.132.131 with SMTP id ou3mr17020241lbb.29.1392650434527; Mon, 17 Feb 2014 07:20:34 -0800 (PST) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx.google.com with ESMTPS id z4si25677954lal.44.2014.02.17.07.20.33 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 07:20:34 -0800 (PST) Received-SPF: neutral (google.com: 209.85.217.182 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=209.85.217.182; Received: by mail-lb0-f182.google.com with SMTP id w7so11621767lbi.27 for <patches@linaro.org>; Mon, 17 Feb 2014 07:20:33 -0800 (PST) X-Received: by 10.112.140.202 with SMTP id ri10mr17205761lbb.9.1392650433821; Mon, 17 Feb 2014 07:20:33 -0800 (PST) Received: from linaro-ulf.lan (90-231-160-185-no158.tbcn.telia.com. [90.231.160.185]) by mx.google.com with ESMTPSA id l4sm19267702lbd.15.2014.02.17.07.20.31 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 07:20:33 -0800 (PST) From: Ulf Hansson <ulf.hansson@linaro.org> To: Alessandro Rubini <rubini@unipv.it>, Linus Walleij <linus.walleij@linaro.org>, Wolfram Sang <wsa@the-dreams.de>, linux-i2c@vger.kernel.org Cc: Russell King <linux@arm.linux.org.uk>, linux-arm-kernel@lists.infradead.org, Mark Brown <broonie@kernel.org>, Ulf Hansson <ulf.hansson@linaro.org> Subject: [PATCH V3 12/17] i2c: nomadik: Remove redundant call to pm_runtime_disable Date: Mon, 17 Feb 2014 16:20:29 +0100 Message-Id: <1392650429-14855-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 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.172 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 cd15c03..5fdfc97 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> --- drivers/i2c/busses/i2c-nomadik.c | 1 - 1 file changed, 1 deletion(-)