Message ID | 20221222141001.54849-17-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp349316wrn; Thu, 22 Dec 2022 06:16:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXtTb6S4xDt5u6aDygQsi/YTaVJj4y10noa+iakFl8ObjSYtb2URpXz63SvNZOStMdS4BDEC X-Received: by 2002:a17:906:6543:b0:81a:bebd:d4b0 with SMTP id u3-20020a170906654300b0081abebdd4b0mr5137848ejn.44.1671718567840; Thu, 22 Dec 2022 06:16:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671718567; cv=none; d=google.com; s=arc-20160816; b=bIC0p/z/8kFxlq3QEuahefpGjNvfF7LFInYuKPt0sX44m+AJ6EEsmblqi+4JZNzL3e IX+n6RyP+fFkFCQk55niiLnvJw311HECKBKfgOxJlVNebBD6qsOia8xc+eBX9KrnxhEN 5iBBTtP4dWtU0QAjPhYmNFzPtg5w43mVzvTTDuBR4UNm2ngyDcBJQ+iM6hLIRT9LHKy5 B8WSzO+tTBP87cO70+1dkA2GDuwh3GvhJ38WGCgyVwP+rDt0QJixYhgLCGIxAewd1M7h oU5CvD8n58r2Ud8JPn4ICaBJjQBwdC4CXUhFNYDEnNZllzntiDq/ALfWKgoz14SSz8cJ r/7w== 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=8Umv4TvSxWOIQ+FsO7JFyleWWrH/ciDg2B2wQfJu0u8=; b=jScbDmRpP8NKI1rAkOvDOb97gbIvGFMrYbXvx6e1f4loYVZQQoyh67TA+iDlknGFnt 0OmHYbEvOvrsac5ZfkBXIEcTQuI1jny1VoYhOZieUgMHIATHaMzhOk8J2ya4TYBu9aQn CrdE3Fhzw89zrbaDn5txM4mgN5I28uRhkCEBlMysqsUhmj4UsEUdZYKhOFJ2TPb5r7sR 9nJJ/1dwr6KwW8xfbVfBFM3w/G4PzhFPFbBKow/XhTghgt/QuXdym/Fc+IAxRhhv4e0p nb7b2MyHoEzSdxrnhrc1Hvy2Bv/h5EIj3+t0Kp3kpmMQhoGNp1ILG49F4tV4qXZSUSN8 JnIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lFSSRkVo; 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 gn7-20020a1709070d0700b007c0b7b5ff5csi606755ejc.646.2022.12.22.06.15.34; Thu, 22 Dec 2022 06:16:07 -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=lFSSRkVo; 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 S235556AbiLVOOV (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Thu, 22 Dec 2022 09:14:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235560AbiLVONZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 22 Dec 2022 09:13:25 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1B192CC8E for <linux-kernel@vger.kernel.org>; Thu, 22 Dec 2022 06:12:09 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id o8-20020a17090a9f8800b00223de0364beso5817048pjp.4 for <linux-kernel@vger.kernel.org>; Thu, 22 Dec 2022 06:12:09 -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=8Umv4TvSxWOIQ+FsO7JFyleWWrH/ciDg2B2wQfJu0u8=; b=lFSSRkVosTBl7NH1CjbznzIGAhg1vr0OY58REMnY5M10cAyYyb2kWljgPPZK+purpL tkoP2lQhnWegg7up4xJ7Glzy1oRsWoz+U4ZzaV2EZylwUbdC59PnTlUSQTVkJ5O99jGM dxwsmXAnqzqkf4CWzclp7h8P0im11vTrb/mwtclro3NVJ2zi6pS2rVWrrXYIzh/dMG4y N8kItD1Dhc0fSBQHdSQ8WUXMgIy2C4HWNoVYUTizsMwgNzJIb1y6buVo1qTzWGJ0FNvq DnKtsXUl341uWX/LhSn8MJZ/hpYKPNR3XRta/FNYJ7+PRgzpJvgucZ1qRmvMqnM9ccts 5o9g== 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=8Umv4TvSxWOIQ+FsO7JFyleWWrH/ciDg2B2wQfJu0u8=; b=qn6gwLDIT2n8I188N1F8O9YEBi3KyPfukOZ2w87lx/7nLVk4nOYR+FtRCN0qU5CLmc 85AkvRCSAhZffEh+iOoZwCJOJ4YSpdbqfsJM6TQO9prx4TtBCICTD42iXNDrt1FvyIgG cUsRljCZWFDD1z8qML34unU9eXGE5zFPep6vgmBKoha8wWHaQpbqRiM/onNWiUgHZOjV QkbKUKogpM44ZwNc+jiAnWfoGedswNB4rTD4SaKTT+VEk333/F9ZS+wDl0poEHGx018V oStkJRwCyyJhAIWSQLg6QspzOraZmRKuVPnqbSApvWKabs97vCc+sKaPwJM7pjbrwXki Wl0g== X-Gm-Message-State: AFqh2kp6X1x5PG09+EkM/8UIqqNuo97C4NqRBreuZ099iNq/+lrqWQm1 y0lnX7YgbA00dwN4wYr6shjI X-Received: by 2002:a17:90b:300f:b0:219:823f:7216 with SMTP id hg15-20020a17090b300f00b00219823f7216mr20532049pjb.31.1671718329192; Thu, 22 Dec 2022 06:12:09 -0800 (PST) Received: from localhost.localdomain ([117.217.177.177]) by smtp.gmail.com with ESMTPSA id f8-20020a655908000000b0047829d1b8eesm832031pgu.31.2022.12.22.06.12.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 06:12:08 -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, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH v5 16/23] scsi: ufs: ufs-qcom: Use dev_err_probe() for printing probe error Date: Thu, 22 Dec 2022 19:39:54 +0530 Message-Id: <20221222141001.54849-17-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221222141001.54849-1-manivannan.sadhasivam@linaro.org> References: <20221222141001.54849-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=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: <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?1752923969083913283?= X-GMAIL-MSGID: =?utf-8?q?1752923969083913283?= |
Series |
ufs: qcom: Add HS-G4 support
|
|
Commit Message
Manivannan Sadhasivam
Dec. 22, 2022, 2:09 p.m. UTC
Make use of dev_err_probe() for printing the probe error. Reviewed-by: Andrew Halaney <ahalaney@redhat.com> Reviewed-by: Asutosh Das <quic_asutoshd@quicinc.com> Tested-by: Andrew Halaney <ahalaney@redhat.com> # Qdrive3/sa8540p-ride 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; } /**