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 X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A460CC433E2 for ; Wed, 2 Sep 2020 17:58:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 77DA820758 for ; Wed, 2 Sep 2020 17:58:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727855AbgIBR64 (ORCPT ); Wed, 2 Sep 2020 13:58:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726489AbgIBR6z (ORCPT ); Wed, 2 Sep 2020 13:58:55 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88BEAC061245 for ; Wed, 2 Sep 2020 10:58:54 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDX1s-0001Bg-4v; Wed, 02 Sep 2020 19:58:40 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1kDX1n-0000s5-Lo; Wed, 02 Sep 2020 19:58:35 +0200 Date: Wed, 2 Sep 2020 19:58:35 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Krzysztof Kozlowski Cc: Nicolas Saenz Julienne , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Michal Simek , Sekhar Nori , Bartosz Golaszewski , Oleksij Rempel , Pengutronix Kernel Team , Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team , Heiko Stuebner , Pierre-Yves MORDRET , Maxime Coquelin , Alexandre Torgue , Peter Rosin , Wolfram Sang , linux-i2c@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH 6/9] i2c: imx: Simplify with dev_err_probe() Message-ID: <20200902175835.zr5swdde25eqs2g7@pengutronix.de> References: <20200902150643.14839-1-krzk@kernel.org> <20200902150643.14839-6-krzk@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vhkwasl2pcrn4lyq" Content-Disposition: inline In-Reply-To: <20200902150643.14839-6-krzk@kernel.org> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vhkwasl2pcrn4lyq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 02, 2020 at 05:06:40PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and the error value gets printed. >=20 > Signed-off-by: Krzysztof Kozlowski Acked-by: Uwe Kleine-K=F6nig Thanks Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --vhkwasl2pcrn4lyq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl9P3UgACgkQwfwUeK3K 7AnV4Qf+K3rvo1rpO/1bvi2oBpCqXFZmrMlLsrkw152dg3jynpFtKShAVENKFpGW HC5YI/UMJhVuYYI/D1i5iiRTqv2NGmVfK/FLo55A1u6wmAD3fLg1+KvZa72U+HHK TriFyBiTb3wtiHiQpENlk5QRdY/qPz8bM3XMVmRyzOWV+EtjJ8vh4G2RWliwH/GT WnCWE9JxHwLXMBzCmYpYuzdLt9bU+bMzmfnWS6/RtApRTD16hCglntR434J8MBot dUOqpxSiHcCCPZhmgN8P/TWUHuBZ7GjFI3CmByzWA/PcAd1o3C9CWFZsAOhAewcB O3De+cBGqZDzY2aVMDlisdUowxv9/A== =p6To -----END PGP SIGNATURE----- --vhkwasl2pcrn4lyq-- 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 X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB50CC433E2 for ; Wed, 2 Sep 2020 17:59:06 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A003420758 for ; Wed, 2 Sep 2020 17:59:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Dda9o+wm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A003420758 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=od8F4k4CIyZL68m4f2UlfNJe8xJeVjH5ZuV5tvTuwRU=; b=Dda9o+wml6Bx85AA3SGlFWTOc P/Eoi85ymbi0QmFAnG2zwTADHAkyOM7xdnwlXCP9GSEzzJ6NGGeS4GXrfuXI1cZxhYzSiPx51HU1U NI+4lmwbTDHOmZAK5FSAM9pVANGJdLTlA1QLJDzTXRxXTY99g2QlJ/gVBrLAoaotvCcbNHuEB/PAC DXlAalLpkwq53sCQcnBscFrt/RhItrDikM3kTHFHEg8musP1+oTqKe/BU8zNK5Bml8AMUJNcBURpz SuvYVAZjcQwNOqLkody7OsL8Nzoyya9f8e3sA9ZWt2K5cRch1jugpLXpJY6hFjRE34DnhJsx3SadG FboxoDZDA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDX2C-0004tH-Qy; Wed, 02 Sep 2020 17:59:00 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDX2A-0004sP-4w for linux-rockchip@lists.infradead.org; Wed, 02 Sep 2020 17:58:59 +0000 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDX1s-0001Bg-4v; Wed, 02 Sep 2020 19:58:40 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1kDX1n-0000s5-Lo; Wed, 02 Sep 2020 19:58:35 +0200 Date: Wed, 2 Sep 2020 19:58:35 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Krzysztof Kozlowski Subject: Re: [PATCH 6/9] i2c: imx: Simplify with dev_err_probe() Message-ID: <20200902175835.zr5swdde25eqs2g7@pengutronix.de> References: <20200902150643.14839-1-krzk@kernel.org> <20200902150643.14839-6-krzk@kernel.org> MIME-Version: 1.0 In-Reply-To: <20200902150643.14839-6-krzk@kernel.org> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-rockchip@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200902_135858_301566_14035D0B X-CRM114-Status: GOOD ( 13.33 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Sekhar Nori , Pierre-Yves MORDRET , linux-i2c@vger.kernel.org, Fabio Estevam , linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , Florian Fainelli , linux-rockchip@lists.infradead.org, Michal Simek , Bartosz Golaszewski , bcm-kernel-feedback-list@broadcom.com, NXP Linux Team , Pengutronix Kernel Team , Ray Jui , Sascha Hauer , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Scott Branden , linux-kernel@vger.kernel.org, Oleksij Rempel , Wolfram Sang , Maxime Coquelin , Shawn Guo , Peter Rosin , Nicolas Saenz Julienne Content-Type: multipart/mixed; boundary="===============0622310942104635923==" Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org --===============0622310942104635923== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vhkwasl2pcrn4lyq" Content-Disposition: inline --vhkwasl2pcrn4lyq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 02, 2020 at 05:06:40PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and the error value gets printed. >=20 > Signed-off-by: Krzysztof Kozlowski Acked-by: Uwe Kleine-K=F6nig Thanks Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --vhkwasl2pcrn4lyq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl9P3UgACgkQwfwUeK3K 7AnV4Qf+K3rvo1rpO/1bvi2oBpCqXFZmrMlLsrkw152dg3jynpFtKShAVENKFpGW HC5YI/UMJhVuYYI/D1i5iiRTqv2NGmVfK/FLo55A1u6wmAD3fLg1+KvZa72U+HHK TriFyBiTb3wtiHiQpENlk5QRdY/qPz8bM3XMVmRyzOWV+EtjJ8vh4G2RWliwH/GT WnCWE9JxHwLXMBzCmYpYuzdLt9bU+bMzmfnWS6/RtApRTD16hCglntR434J8MBot dUOqpxSiHcCCPZhmgN8P/TWUHuBZ7GjFI3CmByzWA/PcAd1o3C9CWFZsAOhAewcB O3De+cBGqZDzY2aVMDlisdUowxv9/A== =p6To -----END PGP SIGNATURE----- --vhkwasl2pcrn4lyq-- --===============0622310942104635923== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip --===============0622310942104635923==-- 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 X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21B43C433E7 for ; Wed, 2 Sep 2020 18:00:22 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E80582083B for ; Wed, 2 Sep 2020 18:00:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YTI0h1Ds" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E80582083B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=u/1XRlzE5X7+ww1+4/u8564WsmC9NnE1dggrhs9bDEg=; b=YTI0h1DsDpkHVqc4Uqu4wcwTG fwJXn69Um/+ZJRcOTeq9WPhub5jQVdnYxoLkR24a4rliMknfEKO9qtorcr05+m471R/8Vd+CxOifO 7sSqI/q7U2QDzMRqnTBF1/lSVojH3bPTJMNNx8HQd5zul2LpLUJ/p/GHIPZ0TWWS+f26zXABvGaa+ jmM6yYaVcja3HMAd/b/CN5X8jFmjBr9bdjALxwGcSJzjh/a9pIuaA2iAqVx4O412YPdIXSbnowK+2 mn0I7SkEy8UzmZ8LdBmmyanKBIJHPF8zMPjYeAvg2LXGsZpAxfHXN7ZCbKDcExPXEGsOYLyQu0/7V UiVVmjtHw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDX2B-0004sq-L1; Wed, 02 Sep 2020 17:58:59 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDX28-0004rh-8o for linux-arm-kernel@lists.infradead.org; Wed, 02 Sep 2020 17:58:57 +0000 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDX1s-0001Bg-4v; Wed, 02 Sep 2020 19:58:40 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1kDX1n-0000s5-Lo; Wed, 02 Sep 2020 19:58:35 +0200 Date: Wed, 2 Sep 2020 19:58:35 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Krzysztof Kozlowski Subject: Re: [PATCH 6/9] i2c: imx: Simplify with dev_err_probe() Message-ID: <20200902175835.zr5swdde25eqs2g7@pengutronix.de> References: <20200902150643.14839-1-krzk@kernel.org> <20200902150643.14839-6-krzk@kernel.org> MIME-Version: 1.0 In-Reply-To: <20200902150643.14839-6-krzk@kernel.org> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200902_135856_341170_70EB4188 X-CRM114-Status: GOOD ( 14.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Sekhar Nori , Pierre-Yves MORDRET , linux-i2c@vger.kernel.org, Fabio Estevam , linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , Florian Fainelli , linux-rockchip@lists.infradead.org, Michal Simek , Bartosz Golaszewski , bcm-kernel-feedback-list@broadcom.com, NXP Linux Team , Pengutronix Kernel Team , Ray Jui , Sascha Hauer , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Scott Branden , linux-kernel@vger.kernel.org, Oleksij Rempel , Wolfram Sang , Maxime Coquelin , Shawn Guo , Peter Rosin , Nicolas Saenz Julienne Content-Type: multipart/mixed; boundary="===============8087018288465246687==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============8087018288465246687== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vhkwasl2pcrn4lyq" Content-Disposition: inline --vhkwasl2pcrn4lyq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 02, 2020 at 05:06:40PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and the error value gets printed. >=20 > Signed-off-by: Krzysztof Kozlowski Acked-by: Uwe Kleine-K=F6nig Thanks Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --vhkwasl2pcrn4lyq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl9P3UgACgkQwfwUeK3K 7AnV4Qf+K3rvo1rpO/1bvi2oBpCqXFZmrMlLsrkw152dg3jynpFtKShAVENKFpGW HC5YI/UMJhVuYYI/D1i5iiRTqv2NGmVfK/FLo55A1u6wmAD3fLg1+KvZa72U+HHK TriFyBiTb3wtiHiQpENlk5QRdY/qPz8bM3XMVmRyzOWV+EtjJ8vh4G2RWliwH/GT WnCWE9JxHwLXMBzCmYpYuzdLt9bU+bMzmfnWS6/RtApRTD16hCglntR434J8MBot dUOqpxSiHcCCPZhmgN8P/TWUHuBZ7GjFI3CmByzWA/PcAd1o3C9CWFZsAOhAewcB O3De+cBGqZDzY2aVMDlisdUowxv9/A== =p6To -----END PGP SIGNATURE----- --vhkwasl2pcrn4lyq-- --===============8087018288465246687== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============8087018288465246687==--