Message ID | 20221123074826.95369-14-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2648994wrr; Tue, 22 Nov 2022 23:52:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf61ueWcWdFsP+TWPG+UDC0CHABb1pCGCGHbRkXVGb5bt3YoGcQx7rzt/8B9ewo8DkgM0U5P X-Received: by 2002:a05:6402:4147:b0:461:b2b1:9702 with SMTP id x7-20020a056402414700b00461b2b19702mr8832614eda.274.1669189954002; Tue, 22 Nov 2022 23:52:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669189953; cv=none; d=google.com; s=arc-20160816; b=MuOGyncbCOjK19Q5Ffp3OtdesafTHx61zs+4b1ldLWkNDjb4cxkbIl3dhYq5CsOg+f weKDUDgs03EeG7kU6DwXIiH0BqDjugu29pJyo0bc86oDVZqUjQesQGymZ9xbBvIU0p7Y Ykfpj+ZIrEI8k0iD6vyrShHh8ixxIvjgOM50nTpRmP9QbiVwgbd0jGimgsrDzs3+UwC/ JtMF3i8ntsx86AOmWIKKKMSVR+YBbZYLYBEhhAA7nLCA1eF5ep+vuzXydiphMPLlDkqD j1b/VjNTUgTPeY6IndNy/LphlHAY6TwfV65ubXwUsJaew13csWPPYsrLDc/ATIjyFHh0 dutg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ff060FMlh2MHBX3ga6yMFYN0UyVEYS40VqwmLXF4PCQ=; b=oPO8sa0bZV8eegsRzrEOYA0fK8sZp4PycNZ3kNdJoLGuxQYyUGnACxKqPDsc7tlBuW yNNaS9k9b52nhL2GoPRCADxtk8wWKRMqTwPbUdgqrilNmVHihOE/OayG1DAfVn4WMkyL A0Q+gvDH8Y4t75mu/qtCWwgj7vL5dh+C7s++LnxScRmXxuNjCGH2GTKoDa3EL5zfEP0W rSmUNLA/nfrMR8FBJbdRvJfI0oGs2rbhyITfoCIzLomvfxoCQp0ZIhyKe1ufTT5rFOQZ We0erWZIFIPqSMd8ILFTzzAO/6StV6eFw5wz2d3bQtCNVpMIGRFrCaxVestlFcFcKC8C Bg1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DJBZrYbt; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sh39-20020a1709076ea700b007b8b7da6480si2547901ejc.659.2022.11.22.23.52.10; Tue, 22 Nov 2022 23:52:33 -0800 (PST) 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=@linaro.org header.s=google header.b=DJBZrYbt; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236317AbiKWHvH (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Wed, 23 Nov 2022 02:51:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236313AbiKWHuJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 23 Nov 2022 02:50:09 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71293FA72B for <linux-kernel@vger.kernel.org>; Tue, 22 Nov 2022 23:49:53 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id g10so15909394plo.11 for <linux-kernel@vger.kernel.org>; Tue, 22 Nov 2022 23:49:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ff060FMlh2MHBX3ga6yMFYN0UyVEYS40VqwmLXF4PCQ=; b=DJBZrYbtm9X/QLJ/W0BggBinY/2j9h/csY7y1RXj4ibeLojZMPOM79qLxjtvmX+0ef qHTZgJHFtB32vZURoOJwLrNnSQaX+2bXlf8zHuE6hiZvRxi7W+LWnTCMbLdSEjKKDFtr rKUTqK0DqmheaA9m8c6D41qw7p4fLNAiNy+PHR04AEaVDVbk5EpB+rRgUXGybW134Dfa o4VjElLklHUuz5FiE57L+c8177u3W7udeCaUt7iGmyf7sLEWBSAQ7XWXEHHDp0xcZmxV BS/SqxE5y3XMtTkm4XOZMcntYbiHkMT+O69Uqzk1+oWlwsjgpd+I94tXWMAjZ+a6pFNg B6nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=Ff060FMlh2MHBX3ga6yMFYN0UyVEYS40VqwmLXF4PCQ=; b=VjL24WGhiNEJCaNeHTi7Gl9gthK5uboJgm3OuK9SsviRwnwTo9Ch2psH9VeUE51i2Y jhiy1RioNIOLzFddE8X0peSkm8R23P6OrAAsgF/T3Nv4bFT+2vRVv6I4WRo6LaN5VV2f 7K4Tn0ak3Qv2HHrYTQrMECgGFU/kvyR8sA08Qsg7cPYb46+zAXxmxTy5uIr8Wli1f00S OEm0MTca+GptIspOs/l5saQL6lXvHlx4SjNJQo52D6msnnPk3MtSClfwoIgIxjwrbCBe 8GWhI4w9ebcUN17kpytK2/u77R5xVvuB7QMIux29GmPU7AiVujas7s8jauZnFLCsWmW2 gnqg== X-Gm-Message-State: ANoB5pn8Y6oNUesIWzh/BmiJCJJdUXJc26X7rqE/pmiAkAG5S6wMHTLa ZQcWyMLmrIeaIPLYX0smn013 X-Received: by 2002:a17:90a:73c2:b0:200:a7b4:6511 with SMTP id n2-20020a17090a73c200b00200a7b46511mr28487090pjk.101.1669189792943; Tue, 22 Nov 2022 23:49:52 -0800 (PST) Received: from localhost.localdomain ([117.202.191.0]) by smtp.gmail.com with ESMTPSA id s16-20020a170902a51000b001869f2120a5sm13334059plq.34.2022.11.22.23.49.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 23:49:52 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: martin.petersen@oracle.com, jejb@linux.ibm.com, andersson@kernel.org, vkoul@kernel.org Cc: quic_cang@quicinc.com, quic_asutoshd@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, dmitry.baryshkov@linaro.org, ahalaney@redhat.com, abel.vesa@linaro.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH v3 13/20] scsi: ufs: ufs-qcom: Use dev_err_probe() for printing probe error Date: Wed, 23 Nov 2022 13:18:19 +0530 Message-Id: <20221123074826.95369-14-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221123074826.95369-1-manivannan.sadhasivam@linaro.org> References: <20221123074826.95369-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750272525016270458?= X-GMAIL-MSGID: =?utf-8?q?1750272525016270458?= |
Series |
ufs: qcom: Add HS-G4 support
|
|
Commit Message
Manivannan Sadhasivam
Nov. 23, 2022, 7:48 a.m. UTC
Make use of dev_err_probe() for printing the probe error. Reviewed-by: Andrew Halaney <ahalaney@redhat.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- drivers/ufs/host/ufs-qcom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ufs/host/ufs-qcom.c b/drivers/ufs/host/ufs-qcom.c index 8bb0f4415f1a..38e2ed749d75 100644 --- a/drivers/ufs/host/ufs-qcom.c +++ b/drivers/ufs/host/ufs-qcom.c @@ -1441,9 +1441,9 @@ static int ufs_qcom_probe(struct platform_device *pdev) /* Perform generic probe */ err = ufshcd_pltfrm_init(pdev, &ufs_hba_qcom_vops); if (err) - dev_err(dev, "ufshcd_pltfrm_init() failed %d\n", err); + return dev_err_probe(dev, err, "ufshcd_pltfrm_init() failed\n"); - return err; + return 0; } /**