Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3517662rwb; Mon, 7 Aug 2023 15:09:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHuV0BDGvFNH3WoyT3wZlHgbsAQGsypoymcMU6gjcRZsnfAST+0xs75aaIAYXmDGjilzXy9 X-Received: by 2002:a05:6a20:3206:b0:138:2fb8:6a14 with SMTP id hl6-20020a056a20320600b001382fb86a14mr10787582pzc.3.1691446199305; Mon, 07 Aug 2023 15:09:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691446199; cv=none; d=google.com; s=arc-20160816; b=ZvI/U7lPqn3KVhtFQSG8gY4sVoYaFbwz1PhGC0a+/95Sfw1SW4UU5+sAhYby3OQmlZ P0kWQFGImyzLfe7ClDITHa8iMNYD20FKOTMyA0QjuOpkxYe0zXYTGBjsy61ezSE8dd7F P4CQKq/C+aLZUNkTVLdYaHC+zhvfvsGc4Uqt1n3qTYaBaYB2X32uOnzNE3YodPh1LdXC UHStjDi1rbHtCdNm0FqiQi/0PwV+LDCG5xUYL6KOxbaIE6fGNbYJTUfpR3e40F2Dwm8H 9a4+Ua2PLO6FV+EHI/0nIJ5HdI4vcRiO803tW0DELTTvxHgAoj3uZlYOSQxAgsayjfEX 0KTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=7SJ34b+LgunJked9rBWH3egjvt8Wca/kGiAdEs8xUaM=; fh=CmTQh04AEk7Drl8TN7pnRCnec2+PuPQa4e7Ris2/3aQ=; b=cqBO3lLDvkmV06GSIKDgKVU9Xa1gvbOUY3AcvLcLM/UqQhl1V7IR+EyKVmgQnOWKHq KCIYO2gAYL7ifR8KbKB4p8qbmGyFFjfF02805TmZMiU7y8xPU+WZgR36mEJYBLcpAgXk tQ7dxmqn5398y2R4BCh/1qpkZUGdLcFvkP/3wEMt3hcXGM7f3zqqvU0AM8d/Zf91iiQa FdRhYv4doTQvFsGvpDq9Tyhn0IVQby6OPxylcCZxLfB3jJKg83XaLQSYc5hB+pDgpBuH 70lx/nPS/MDkCz4fEVepGaGKggL0Ov1lXdRvUU63tPbD/aKButsOxl9u0fDPlD+zWH/h VTEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="L/rc5qgs"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h71-20020a63834a000000b00563f711096bsi5852281pge.852.2023.08.07.15.09.47; Mon, 07 Aug 2023 15:09:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="L/rc5qgs"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229593AbjHGVah (ORCPT + 99 others); Mon, 7 Aug 2023 17:30:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229690AbjHGVag (ORCPT ); Mon, 7 Aug 2023 17:30:36 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F86C10C0 for ; Mon, 7 Aug 2023 14:30:35 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-686ed1d2594so4823684b3a.2 for ; Mon, 07 Aug 2023 14:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1691443834; x=1692048634; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=7SJ34b+LgunJked9rBWH3egjvt8Wca/kGiAdEs8xUaM=; b=L/rc5qgsKqw56q8sWaL4rWyYNdp2zd0OP6s41c0yoqs8WPN90nFBmd7OE7gbSKyEmO n5mhDBIGXDNlLEIlinCKKTucFPojtEI/vhr04kZeqrefVqbd3j6ErhfMi/C414ziFPDG E7HtNVfve4i1jf8Y+WsLUVF2DxQ/UwvpNhj70= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691443834; x=1692048634; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7SJ34b+LgunJked9rBWH3egjvt8Wca/kGiAdEs8xUaM=; b=atemtAP2o5PRhmXx+SAykNn2LbkBiNZ1UpNvrwsaNPRA9nhAJ394s//FFdJof4kCFE deaRbPv1H80HArNPz1xenA9y6/BggsEFezjF64yuCeveSFzk7DxO3TqPSMO3GQUTjKGG szAsZYZ+zoOk4aijxEtkS7YASwd2yipILi8ZlXmSbXB4U8ONzy2Wp0Fs3Q7Ni5RO2Hvq z6COp8xlU0orQ39wEw3gVCQh03j25tyWD5iAXLe0mz5LaxU1bCFrw8VdryrCfFuN0TnH B/j4XVVXlKj270gtTzwhRkBYLWOPZpFmS6C5DRlMuQiuXOYUvPRHP2K6TQ/4HUrQQERp uWWA== X-Gm-Message-State: AOJu0YzYo5vzm77cbVqPKNuU9dJKetv/D2HpkYCnJzctuhn2xcRrAkMl SFD/5Z+UR+vzD7qLIV2BKC3gRl6k96M8sS2tpjLrz9E5Qy/VvC3YNJbT53miT/TRqNT2d/gX2Sa atBCL1h9TsPhsLWBlrGzrBz7T9XYLv+d/nH1hJPt+TFfqIAoVgYJN+Et3+Hfg2+E1vetQpS0MdX 33Zz6YeDQ/s/eJHtjOCg== X-Received: by 2002:a05:6a20:3d05:b0:132:a85f:b20c with SMTP id y5-20020a056a203d0500b00132a85fb20cmr14833895pzi.38.1691443833983; Mon, 07 Aug 2023 14:30:33 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id fm13-20020a056a002f8d00b0064fd4a6b306sm6571822pfb.76.2023.08.07.14.30.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 14:30:32 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , Linus Walleij , Ray Jui , Scott Branden , Broadcom internal kernel review list , Andy Shevchenko , linux-gpio@vger.kernel.org (open list:PIN CONTROL SUBSYSTEM), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM IPROC ARM ARCHITECTURE) Subject: [PATCH 1/2] pinctrl: iproc-gpio: Silence probe deferral messages Date: Mon, 7 Aug 2023 14:30:21 -0700 Message-Id: <20230807213022.1862903-2-florian.fainelli@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230807213022.1862903-1-florian.fainelli@broadcom.com> References: <20230807213022.1862903-1-florian.fainelli@broadcom.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000e866bc06025bf472" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --000000000000e866bc06025bf472 Content-Transfer-Encoding: 8bit We can have gpiochip_add_data() return -EPROBE_DEFER which will make us produce the "unable to add GPIO chip" message which is confusing. Use dev_err_probe() to silence probe deferral messages. Signed-off-by: Florian Fainelli --- drivers/pinctrl/bcm/pinctrl-iproc-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c b/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c index cc3eb7409ab3..153bfd3a48a4 100644 --- a/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c +++ b/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c @@ -892,7 +892,7 @@ static int iproc_gpio_probe(struct platform_device *pdev) ret = gpiochip_add_data(gc, chip); if (ret < 0) { - dev_err(dev, "unable to add GPIO chip\n"); + dev_err_probe(dev, ret, "unable to add GPIO chip\n"); return ret; } -- 2.34.1 --000000000000e866bc06025bf472 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQeQYJKoZIhvcNAQcCoIIQajCCEGYCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg3QMIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9iYWxTaWduIEdDQyBS MyBQZXJzb25hbFNpZ24gMiBDQSAyMDIwMIIBIjAN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