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 9EC55C0015E for ; Tue, 1 Aug 2023 21:36:25 +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=YWQSz6gl85rqeukjJK1UNO1eBFOBxKnAcimioyHanZo=; b=GUOEGpbQF5acVD hdeWt50UCVbpVsqL6MjRg9jxM/JI55bIFU80PPBkwmahZFyLAAIg5PbVyo8e9wQhZ9zq52Lyd6AX9 nNjwvg4jox3fSVdfGmjLdTaDCohesovlk1k0li099k6Wp9h4o8bYh7rWOXCwAkNrWKGx+8u0PgnNn BPAt+fgpyOLhY/cWVh2sT/eBnpMQTsHlhlK5ttanQbe125p5eIEuUBr8yaQVNrvvf1yKPh+nOcN9G h8uukQVu5dHpYznsj4lSysyDTzCtdm3GC3DpaCJIH71qrmYUWh47/5yq3G/qQ4/2aLKxUblRO9bAF gZRYecBe2gD5u/4eannQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQx27-003MIM-39; Tue, 01 Aug 2023 21:35:59 +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 1qQx24-003MGw-2b; Tue, 01 Aug 2023 21:35:57 +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 214C961727; Tue, 1 Aug 2023 21:35:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1012CC433C8; Tue, 1 Aug 2023 21:35:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690925755; bh=fHfxCcsWpP1oOquFycL9ZEIYSEN1iAuhitzxUtOffx8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GfNiL1ISHwCiSdCn5vzcBNCBghBFFbDb9e5n2NseFPYeoCwZXEQDXunHk8kCEdbhx xmtCG4qsDR4zaPAcLd7WOe0/L38kkFsyxQNNOuPaxFesf88RF3drcCyrEL1M+lw8cJ yJnwCE740/SXaaB0PniHQk/B9fUuGpwShpkixFOSoOpK2UhXuZqs4e3IgkiwImiR0W CIwD8iHyWJ3DiVe3BgaNmzTXbAs5xqE/s3EwXIgto9D7Z5rC1mMHFC0I481w1YuI8R 6bY5WEpuGk9CNvYBi+gswic30Q20tuv6wplnv5v9YeBo66EgfDbr+anUaEqmMRvybA mA8rBtnm6b7mg== Date: Tue, 1 Aug 2023 23:35:52 +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 3/9] i2c: xlp9xx: Use dev_err_probe in probe function Message-ID: <20230801213552.u5qfsxaw36ayyaej@intel.intel> References: <20230728013148.1720978-1-liaochang1@huawei.com> <20230728013148.1720978-4-liaochang1@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230728013148.1720978-4-liaochang1@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230801_143556_889385_3E829DD9 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:42AM +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