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 5A02CC04A6A for ; Tue, 1 Aug 2023 21:42:02 +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=RYyGwBTuPOUREf8I9dj5nSp1MqpFic5huDLQa05Z8CA=; b=qPfDDJyhZhlWTJ HQLZzv/W4FMhQuYzgoRM2PejcxCxVlqsXjdX/6wXrkMdPYOFRevOF+Jc39xuI3NPm+PQnyOmkuyoT pEsY9ZlYEt+wZiyBx1xRZu8o5JY6cK91Lx0+d1JpZ3XCpqk6zmMKoSC/OrGRWoewYXff1TnPmogTH FbwrR8NosEzbPBlJRpQSA6XqkBfNcR4JdXMYDxCmq61qYLP1fwczmYKlya99hGy3zukoGiGqCee46 WztceSDcIGLDll7lPSMQKq2sqO8SbWu5KrFOiRPdDnd4VkoZb8gSzXXD3muFR3fKfMonDctlQ4uO1 MwC9EBsZ0DK/1JASmO5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQx7Z-003Mlj-2Q; Tue, 01 Aug 2023 21:41:37 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQx7X-003MlG-1t; Tue, 01 Aug 2023 21:41:36 +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 2AD1961717; Tue, 1 Aug 2023 21:41:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12F2DC433C7; Tue, 1 Aug 2023 21:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690926093; bh=k/5viSm7Km0rIa9duT4xU0XbNaVd6tQQN2OOzlOXBno=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Pgt/no8/Qd8V88rBs/90NUvltejScxtBLQGrnGixjJkDo+/ih6jdyNUjhThVuEOUv +6a++coZGMGk3ssNjvbKpMeIS2vAo871xskfD5PP+ojVCOD6BFmXPNBo3BZpwiH6KE x8XsGowaJODRD61gQsI+LYoaaufh8mKirQnf9hz91+dZ2XjRSns3YftbQWfvnP13e/ 0Ki/DJUVl1DTmx6I8Co/Xvm1mHyK/FM1p0e1oEf3qALzoWjCvpPe5hp+hzsBsqfU/a MwbPp2UrXdDrRQHenHPWIhwP3+/7DbOVLmhK1n99qq0Sv43xD5jmgB+PHpzTBORXJO R6JBeGUUKV+mw== Date: Tue, 1 Aug 2023 23:41:28 +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 7/9] i2c: dln2: Use dev_err_probe in probe function Message-ID: <20230801214128.3ksccmuevxm5cnkr@intel.intel> References: <20230728013148.1720978-1-liaochang1@huawei.com> <20230728013148.1720978-8-liaochang1@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230728013148.1720978-8-liaochang1@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230801_144135_666270_49258F79 X-CRM114-Status: UNSURE ( 9.74 ) 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:46AM +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