From patchwork Tue Feb 4 15:58:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 24119 Return-Path: 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 ; Tue, 4 Feb 2014 15:59:54 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wp4sf35017529obc.1 for ; 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 (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 ; 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 (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 ; 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 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 07:59:49 -0800 (PST) From: Ulf Hansson To: Russell King , linux-arm-kernel@lists.infradead.org Cc: Alessandro Rubini , Linus Walleij , Wolfram Sang , Chris Ball , Mark Brown , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-spi@vger.kernel.org, linux-mmc@vger.kernel.org, Ulf Hansson 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: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The amba bus are responsible for pm_runtime_enable|disable, remove the redundant pm_runtime_disable at driver removal. Cc: Alessandro Rubini Cc: Linus Walleij Cc: Wolfram Sang Signed-off-by: Ulf Hansson --- drivers/i2c/busses/i2c-nomadik.c | 1 - 1 file changed, 1 deletion(-) 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; }