Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp247446pxb; Wed, 11 Nov 2020 02:39:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxUTHyC758egkA8LqmG4ikiwMVmJNgGdbtg9/HINrPgl/y9DV72h1z7vQmLJ63AvvpRxs9g X-Received: by 2002:aa7:c716:: with SMTP id i22mr4263712edq.94.1605091146990; Wed, 11 Nov 2020 02:39:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605091146; cv=none; d=google.com; s=arc-20160816; b=oZTdD3+2HI4xHJkFJbNnC0GwYVhR2Jd8pvLkcjG7ErqWn2C3b8iPoYsJifTMeZvcyo oSkKL0VXdmQfrpWc6HQfNdX73Cpt4n2Bupi3MQW6psmwCKazt63sB0MTE+CbkjdzNfRn Y5p4yKAlyTCM+yEGjSybYjjv9mQWcKakA4NBjSOUmkqIFZkZu09Sc3VHqA5csZdV8s15 +nne9Gc4K6QPz+nIBA6rHGbR2CSDQepa8w5yn3jasXOg5wsNEvfTqRKtnFKvSsuav8je nn+zkiS8H88kjmn5m0m/JY9iVCQkzcOJPPHTFQmaYwxG1DnqoXpl2QZqZvWo6EIiFHqo Bo+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=BvyW3flY3VfWoU/iKHgsKZMEtMA4ZQy5sZEOEeAGGSM=; b=r9XgW5ZEHLRedg/vbEPma0OIOwpWnNTNr1HpFA/pAKHi6fmQQgw/gbZ28xqkdRWChc YAgXkPgOXuS7cK2Xw3j988K9YZx+VZ/W8HJKF/DI676KUhizbW7s+ERn1Sj+Ya7T8QrF exosi0HhZ0jdw8dkhCcZ4XNfnEyyFDnm0jNH5ogjd0BvmfutTBcWcPiIe/uus0t7nsFp +/drrN1lW+yNgWVkIDrpyT9cJxuE1a5nomAtxxc5m79FZBAbkQcKsycmffE4UQHBqhpN ss7VMdxLBDRHhG4Ufxf1oVJ8PAk0eYuw/ACpZf/HCJAHTQVpW9KK3Bv0L6UJUMn36D03 nMAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=pnAWsDCy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ci22si729409ejc.100.2020.11.11.02.38.43; Wed, 11 Nov 2020 02:39:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=pnAWsDCy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725979AbgKKKhR (ORCPT + 99 others); Wed, 11 Nov 2020 05:37:17 -0500 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:3278 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbgKKKhQ (ORCPT ); Wed, 11 Nov 2020 05:37:16 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 11 Nov 2020 02:37:11 -0800 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 11 Nov 2020 10:37:14 +0000 Received: from moonraker.nvidia.com (10.124.1.5) by mail.nvidia.com (172.20.187.18) with Microsoft SMTP Server id 15.0.1473.3 via Frontend Transport; Wed, 11 Nov 2020 10:37:12 +0000 From: Jon Hunter To: JC Kuo , Kishon Vijay Abraham I , "Vinod Koul" , Thierry Reding CC: , , Jon Hunter Subject: [PATCH] phy: tegra: Don't warn on probe deferral Date: Wed, 11 Nov 2020 10:37:08 +0000 Message-ID: <20201111103708.152566-1-jonathanh@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: quoted-printable Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605091031; bh=BvyW3flY3VfWoU/iKHgsKZMEtMA4ZQy5sZEOEeAGGSM=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:MIME-Version: X-NVConfidentiality:Content-Transfer-Encoding:Content-Type; b=pnAWsDCyXUEKTKvxQxOT4wEhLvQMdi3lT8pOCO53Tvn8wGiSjkgat7FvUUnmhTA49 e9T9QZXmi13eQwWyjwIaT4RbXh3WUFw39A4lZzCrogWWMZrWSacGAIC8pEvf0C0AQP Ezq/4Ldhy3g0qHmbuznXUQj1kWhHUVyLqAk4rt8q2K/W+BsE+FbOVhu765FHmb01Ee eQo3zA2BJJtaYKLmPsjmEu6Asowz+kq5JpB2/TwZS3q0sCzviKV6KmCwtd57Cdv2yC sCL1rswPEWTko2LSWkYzIns2Dnnfvvk/iRSILbVRl3Ff+rWDO+JS42E90WBX/vd90U +uoV6XKqixaZg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Deferred probe is an expected return value for devm_regulator_bulk_get(). Given that the driver deals with it properly, there's no need to output a warning that may potentially confuse users. Signed-off-by: Jon Hunter --- drivers/phy/tegra/xusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/tegra/xusb.c b/drivers/phy/tegra/xusb.c index ad88d74c1884..2eafb813825b 100644 --- a/drivers/phy/tegra/xusb.c +++ b/drivers/phy/tegra/xusb.c @@ -1200,7 +1200,7 @@ static int tegra_xusb_padctl_probe(struct platform_de= vice *pdev) err =3D devm_regulator_bulk_get(&pdev->dev, padctl->soc->num_supplies, padctl->supplies); if (err < 0) { - dev_err(&pdev->dev, "failed to get regulators: %d\n", err); + dev_err_probe(&pdev->dev, err, "failed to get regulators\n"); goto remove; } =20 --=20 2.25.1