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 56C63C0015E for ; Tue, 1 Aug 2023 21:40:56 +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=MVOk7XkxG+0XlM+6s1mkqCf5/Fc+sirAxrBD4dH/0MY=; b=YUl6G85ZAuTd8D GiyqSF7XkBquVaHSIwWFh2mdOcgbH1pp4+HxnaHKXqrGIJu5LByBdWzanSw5gYyagY5rGzSZYHcqn Y9wMWf7W1pkePbVP0F0D1Addqca3vaZlOCxeQQbxBD9e5aT8MewC1jViySt5bHSgfsllXDpkQ65Av nUGF8RAuXaOCvoFq8VAIjIa6PD7JmKiLAIrCzuPFcGMolGzQj1vl3Qwf6Di6xZoRJPzKQtJSeXkN3 CWklGh/P+D0Vf0cZm4mpFVubGEwqw4WYfDqxpRivuz5QZNi4sSgWpfv6gq2QKUJR+M9lobJMHYG+J Ay6LOKFfPI3qYMU5CdEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQx6W-003MfZ-2l; Tue, 01 Aug 2023 21:40:32 +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 1qQx6V-003Mf8-0u; Tue, 01 Aug 2023 21:40:32 +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 C3ECD61717; Tue, 1 Aug 2023 21:40:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE649C433C7; Tue, 1 Aug 2023 21:40:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690926030; bh=0Ix43j7jhgbKiD4hMLNiYt5Wj1CPlhdOwJfn9xQ2Qlo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QYDXJsj8aSS5ow8lSLZ7mxzEUAkghnixEvd7RQR0f42GyJzeUcS6TGVTCRzN4xGN6 wSBQdUnbmUDLlv8MXVNf5yIyOFiv+TmWBIraClGyQFVnvitfHp+JMLH6JWlPw3oh3x tyr8hHWimBSBPG1BzsWtnLV54O////V2ESbLGUJb3vMM4CYByPqOB0fCSYgn8P8XhT 65N6kkoAjYGdSOhlK9tkJjcshqVe80isM+241YEW28q9b0MC7dv0Z9DLQAF+g2VEdy 0yjrn3lip0buh+iE6uJtt52VgUZ+hl8g1la9Af9UyCqipjdPQfY8Yb07HfhuqDVZBd gYMSaSADMwlDw== Date: Tue, 1 Aug 2023 23:40:27 +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 6/9] i2c: pxa: Use dev_err_probe in probe function Message-ID: <20230801214027.ziitl3m5h36dahkb@intel.intel> References: <20230728013148.1720978-1-liaochang1@huawei.com> <20230728013148.1720978-7-liaochang1@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230728013148.1720978-7-liaochang1@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230801_144031_384226_5BC08874 X-CRM114-Status: UNSURE ( 9.91 ) 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:45AM +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