From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8084C0015E for ; Tue, 1 Aug 2023 21:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FG/EsDBIadr1Z/foUvSK/5whZt9WL+xG30KtQrdVRI4=; b=09LakQ3uUR36Uc LLgmAwk7AJLBl0lS+idf1XgJz0iP2DBHx6eF9YKTG87xiwn0SDG5S1wHct7cr0Y1I0SvSwSg1GGWB /5+gFa4LqV0jE4HOSxXcLUiFjI+heEZso+/USVhvw3hnhHIlWi+e0JEwgrC41TWIHqPwg1BVifdYC cRQdG8lURLfhD8aRPWns8nRpVzH5Zb11Ud7sP8eY/im+7ZB3oXM5k88YyxYtVGE6s1fvxv1bUMTJY MWK/45lBJwqETGoGoTznFQiYDQiQz1BFZ3q0WwM1evqGAP/koAx4+lLaSxGQ4E67F4Ffy8ByzEDab yl1Nz5nuLCOS7va4iqYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQx4V-003MT7-04; Tue, 01 Aug 2023 21:38:27 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQx4S-003MSj-1b; Tue, 01 Aug 2023 21:38:25 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0342F61727; Tue, 1 Aug 2023 21:38:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5C38C433C7; Tue, 1 Aug 2023 21:38:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690925903; bh=ADa1+iTR0hYXnlYYFNGNMhg7NNISNtzlV/jyzDJD1Ek=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=omgzPgc+/CfYwc/ZThQM9Klr2USqU4p0RGuSSXTTrAKySXrgVsIGcdEa187BH/tn7 ktB01JqOSOaxdyul2xtuluW3O5PknAtmPoZlao7qVbziAJ/kAOUaAWwNr+ZFOL6DVF /vqmE3S4rx5P+6AAHvBOsSXJw2rze8l7wVZwOkBgBlYe3milgwFTXSv+1HsOPw4T7F TNg7Vpp/VNYMVPJaybT1wZCBZ8sZSJT9yuXsykc4iGglxWhYHSdQItbMOm2++Yd5OP DkTt/zys63NVMVZQgCi9TxGTTD28yhY4cfzSHsZr/zgRtSESMhmXwAcy6isn88Vh+a E+3X5hOPqL3rw== Date: Tue, 1 Aug 2023 23:38:20 +0200 From: Andi Shyti To: Liao Chang Cc: florian.fainelli@broadcom.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, yangyicong@hisilicon.com, aisheng.dong@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, kblaiech@nvidia.com, asmaa@nvidia.com, loic.poulain@linaro.org, rfoss@kernel.org, ardb@kernel.org, gcherian@marvell.com, linux-i2c@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 5/9] i2c: qcom-cci: Use dev_err_probe in probe function Message-ID: <20230801213820.vyecp2njdfojrgqn@intel.intel> References: <20230728013148.1720978-1-liaochang1@huawei.com> <20230728013148.1720978-6-liaochang1@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230728013148.1720978-6-liaochang1@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230801_143824_594802_C0EAC141 X-CRM114-Status: UNSURE ( 9.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Liao, On Fri, Jul 28, 2023 at 09:31:44AM +0800, Liao Chang wrote: > Use the dev_err_probe function instead of dev_err in the probe function > so that the printed messge includes the return value and also handles > -EPROBE_DEFER nicely. > > Signed-off-by: Liao Chang Reviewed-by: Andi Shyti Andi _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel