From patchwork Tue Apr 23 13:08:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 162691 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3772459jan; Tue, 23 Apr 2019 06:11:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqy28NJYfBn06O+ra0jfY6KDdeuivxObFxnAH08RmQBAN4BdvJBtPJn/6ElcEYoKa/zgZudG X-Received: by 2002:a63:bf0d:: with SMTP id v13mr1651909pgf.186.1556025105547; Tue, 23 Apr 2019 06:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556025105; cv=none; d=google.com; s=arc-20160816; b=X/M9/JbJHthWj3gzvJZ05FF4Y4K9cr91EqsuKpsKoQwa1242G6mLXKIg+CQy6d0RAJ e6zsiPd5uHLhkejwngUROBEz8uwc0o3zvtm2iv5WkZJUbNgOoyC3qhunLloBzUuH1CIF Onct2cAwucSg3cIoUTqo3hsGpaaRH5M3rIlMEZzQ9bzdRnPp9B5unuvmY8rvYYHA7qPb ffL/5LHgMwV/tO5pYsOA48LhsEOi4knN2UIlrdkmTaCHw8y3IpEniocvtcaVxS/CrUQE Y1GstAEyuu1MiWc8m7uNkbg2+Sbd5C8yLyzdgdNtgfDvoHZSBvPwNeiBK9HWr0Si4DO2 DoCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=XZorYBakLXjWZwDXheepjeRKRXXYJNlPp/uX0z6AJN0=; b=BFnhjXF1ZV3QWIJPOpHue+i9lMpGPgIWZQviaGmGo3iu1+clv1lkjvlrX5oNiusUaF L2PFtscABz1pN+TIKeorAv9HvPzRjdRHJ001uhJMUqAcwIv86jo03Zvecbv6eidJ5ZwY HxajJQAEGHgAJkJ7/C0mOpXvSdSdx7RmtsAAxUUH0XsM9N8Nsx6fy9fCovj6cmumAhEw hQZVVPNvAP8cfqYF71GTmmQX7CsTYZsS8t5gfURlimfFf4Oece75q53nOsrdFQ0B9a// Me6GmJH70hlLEGUjKuk3p45gyOsS/3sDmM3vIfjQRolDG2J8LxNuRxURbNWzBx5h32WB hQyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZuoEFSq+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d62si14982301pgc.497.2019.04.23.06.11.45; Tue, 23 Apr 2019 06:11:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZuoEFSq+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728214AbfDWNLj (ORCPT + 30 others); Tue, 23 Apr 2019 09:11:39 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:49984 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727851AbfDWNJ2 (ORCPT ); Tue, 23 Apr 2019 09:09:28 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x3ND9Oul023153; Tue, 23 Apr 2019 08:09:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1556024964; bh=XZorYBakLXjWZwDXheepjeRKRXXYJNlPp/uX0z6AJN0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ZuoEFSq+QbI6qGd2m6DLdo+pKmSXXB8LPbi6+jfTNa8oR8QGxYb+MibncYe6OOORA aHmAC56LMCylf8LRALMZo9HkSw+1TueSCI8nkL9JGa+2x3LilpKsu1ydOtuaLz18NN ND690KwtwEei4RXoZ6AjIFbpMrqBTt9sc2ZKmMs4= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x3ND9Ofr045554 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Apr 2019 08:09:24 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 23 Apr 2019 08:09:24 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 23 Apr 2019 08:09:24 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x3ND9NXw126099; Tue, 23 Apr 2019 08:09:24 -0500 From: Grygorii Strashko To: , Ilias Apalodimas , "David S . Miller" , Ivan Khoronzhuk CC: Florian Fainelli , Andrew Lunn , Sekhar Nori , , , Murali Karicheri , Grygorii Strashko Subject: [PATCH net-next 06/19] net: ethernet: ti: cpsw: drop pinctrl_pm_select_default_state call Date: Tue, 23 Apr 2019 16:08:57 +0300 Message-ID: <1556024950-20752-7-git-send-email-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556024950-20752-1-git-send-email-grygorii.strashko@ti.com> References: <1556024950-20752-1-git-send-email-grygorii.strashko@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Drop pinctrl_pm_select_default_state call from probe as default pinctrl state is set by DD core. Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/ti/cpsw.c | 3 --- 1 file changed, 3 deletions(-) -- 2.17.1 diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 0b8cc4e6d9cd..17dd81f25f5e 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -3507,9 +3507,6 @@ static int cpsw_probe(struct platform_device *pdev) */ pm_runtime_enable(dev); - /* Select default pin state */ - pinctrl_pm_select_default_state(dev); - /* Need to enable clocks with runtime PM api to access module * registers */