From patchwork Tue Feb 4 15:58:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 24117 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 12D03202FA for ; Tue, 4 Feb 2014 15:59:48 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id c9sf21466214qcz.9 for ; Tue, 04 Feb 2014 07:59:48 -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=tVfOcSz+JQT+jlgnyeSvaXa1csZ+bH4QZ8+zR/mUbcQ=; b=Ukjb6yIDq72maWBPquhh1jN+MS83B2TfZkS+A5+rJFAk7LDrgrOQAmv02nPL7vI/ar bwjzIBGHPtciAAFNuaZbisu8FO95vevD3xG9rRHpOEd5K+MZbubgf7LMSeUBjCiEKiDP BevDbWsY3/VLmALm6i5SH/LFPPdKOB4LkqJTIkeVz/tRrd1r5ihZgE1ims4q3pxh2yKf LW2DX69dsOPhji9MPIEwR3jNUYQfcr/qG1P4litnKZB95x+oIZ1IDNUfVCWXjhBnM1Ku KBplah3M8S7OO9AEfDOHbFMTcTm0LxpXYYH4EjeYiuJJ38CFXhybhIvSe4LNGCHGCtf7 23og== X-Gm-Message-State: ALoCoQlBWJbX4y6JXAglOHpQ1VIc3n2ZAeDuoR99WQseW/ZKJuC7kbbbITegRU/uGBvlwMlTzrxL X-Received: by 10.58.38.137 with SMTP id g9mr16936313vek.6.1391529588207; Tue, 04 Feb 2014 07:59:48 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.41.202 with SMTP id z68ls2366086qgz.85.gmail; Tue, 04 Feb 2014 07:59:48 -0800 (PST) X-Received: by 10.52.229.133 with SMTP id sq5mr471098vdc.45.1391529588112; Tue, 04 Feb 2014 07:59:48 -0800 (PST) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx.google.com with ESMTPS id tj7si8332354vdc.33.2014.02.04.07.59.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 07:59:48 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.42 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.42; Received: by mail-vb0-f42.google.com with SMTP id i3so6008556vbh.1 for ; Tue, 04 Feb 2014 07:59:48 -0800 (PST) X-Received: by 10.52.68.106 with SMTP id v10mr450646vdt.59.1391529588035; Tue, 04 Feb 2014 07:59:48 -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 u4csp245380vcz; Tue, 4 Feb 2014 07:59:47 -0800 (PST) X-Received: by 10.152.115.132 with SMTP id jo4mr617823lab.69.1391529585943; Tue, 04 Feb 2014 07:59:45 -0800 (PST) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) by mx.google.com with ESMTPS id b8si12945384lah.173.2014.02.04.07.59.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 07:59:45 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.48 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=209.85.215.48; Received: by mail-la0-f48.google.com with SMTP id mc6so6525481lab.21 for ; Tue, 04 Feb 2014 07:59:45 -0800 (PST) X-Received: by 10.152.22.1 with SMTP id z1mr2442106lae.39.1391529585114; Tue, 04 Feb 2014 07:59:45 -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.42 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 07:59:44 -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 10/17] spi: pl022: Remove redundant pinctrl to default state in probe Date: Tue, 4 Feb 2014 16:58:51 +0100 Message-Id: <1391529538-21685-11-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.212.42 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 driver core is now taking care of putting our pins into default state at probe. Thus we can remove the redundant call for it in probe. Cc: Mark Brown Signed-off-by: Ulf Hansson Acked-by: Linus Walleij --- drivers/spi/spi-pl022.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c index 2f44c81..3ddd8da 100644 --- a/drivers/spi/spi-pl022.c +++ b/drivers/spi/spi-pl022.c @@ -2109,8 +2109,6 @@ static int pl022_probe(struct amba_device *adev, const struct amba_id *id) pl022->chipselects = devm_kzalloc(dev, num_cs * sizeof(int), GFP_KERNEL); - pinctrl_pm_select_default_state(dev); - /* * Bus Number Which has been Assigned to this SSP controller * on this board