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 5E867C7618A for ; Thu, 16 Mar 2023 20:09: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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=auDiOB4wtV0DT5jtaylQ5HjEWdgTRJLAm465K1jCkRk=; b=yW1nYmfL3xWi5bMMP7AtHSPcPZ 8NPyMw0kyvSybMql084FP1qh+WSBbZapg1gYnSH7k7nLocZ6M/I7OWJJpdRYP/6RA4wKB02lN7BXT 5B+P259e2deivGA2KHo818zQG08PPJI69x52HZbZHKYow34Rc0nv2Hl4aINy6fYILUiYFUHuYzEhO a/CBwFgZcUQ0rY/3utrx1AC5IdTNqat1zbyphjrJdVEnUaIE97clQ9csPUdn3HwfZKNCIkFBvRtm0 MrFcPgRaGsaQTCHIpvCfIBCioMGGrBBs9Y9QswI9k3kwoXimtU54bZspvkGsrhAlOg4SFODbyTgEM otsp+rmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pcttw-00HTSD-0x; Thu, 16 Mar 2023 20:08:40 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pcttt-00HTRZ-0w for linux-arm-kernel@lists.infradead.org; Thu, 16 Mar 2023 20:08:38 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E95D8B82346; Thu, 16 Mar 2023 20:08:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F150C433D2; Thu, 16 Mar 2023 20:08:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678997314; bh=VuC7QTyHOzHSmwc5W73ZxB5gYSjNYlNz9qs0fCV02ns=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dwg2rQHra0c+G6VQL8Ti2RA7aTa9Lgf05wayTuV4mgBqPRMQFqh4lDBn1gvY9vXiK dNWrWqZ/G7aAKnMWFyJm5ljPCsGV3mPwZ9KMpoflpOVe5jY4EMicY5Wsibojgo/K2X a87Yq7IureCO5yf/nRulqa+7wBrMS9/Uj9NdUmD9vHojxxOorpNo+y8SJVyzOC5Y4h kFaeS6bntsooHziUMpU1yta5cdbA4S79SjKQ1XyZcnoo7DLtnjGaGm5W+Xq5xbGl3B EgLdX0C27IC7dTOzb45jKU9hIQ0+PZy9nj/0t5hU5KdhQE0hfiYcjmvMZfre5BGo1w A9uY+/dcitIjg== Date: Thu, 16 Mar 2023 21:08:31 +0100 From: Wolfram Sang To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Cc: Oleksij Rempel , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] i2c: imx: Simplify using devm_clk_get_enabled() Message-ID: Mail-Followup-To: Wolfram Sang , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Oleksij Rempel , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230313183349.2774002-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 In-Reply-To: <20230313183349.2774002-1-u.kleine-koenig@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230316_130837_473117_5C984A5E X-CRM114-Status: GOOD ( 11.14 ) 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: multipart/mixed; boundary="===============6892923048053208355==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6892923048053208355== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r/rysAqudIic71jj" Content-Disposition: inline --r/rysAqudIic71jj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 13, 2023 at 07:33:49PM +0100, Uwe Kleine-K=C3=B6nig wrote: > devm_clk_get_enabled() returns the clk already (prepared and) enabled > and the automatically called cleanup cares for disabling (and > unpreparing). So simplify .probe() and .remove() accordingly. >=20 > Signed-off-by: Uwe Kleine-K=C3=B6nig Applied to for-next, thanks! --r/rysAqudIic71jj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmQTdz8ACgkQFA3kzBSg KbZHyRAAlV8P/zTbybE+Qm5D6I2uMP3fs0mcxX13AERb9CSqaWJS35O1humUPPZp fwi7bQW42CCybjkwUTftQJZjTN9KPeG05c8NWdLSzoYSlbXMGIuDZAgkd9udL+yy Er0dj4tboNt7Esywou0R6hGycPq4hKddtEzwzk/YjuGaex9snBjQS/NVtwXdvOM1 4cF78XefL4v92lV7KV1xlbHTVkkJjnjeOQimPhVki9S089Y54uGUCiSxSsrk3LBD t7nzVemBxlaroiuD9GvSsI6wQh8DbULy9d6Fh6zCgc5GAMG13zz3JF6AQSxB0MZS jdDu6GR5sPbDuzHIZi4U8RdUK+dLGMfpj1oAfd6DY/vOXzFLJUNQLfBOJPhW/rh0 8c1u0hdLvU/srEB6q2MkX2jiNQFlActh/ZJH+/PZcNk/+Y95GD8yshiATgZ2rIlo Wpp4cbNNpZCtbU9iJjBjWDyfmfucui7ZX2sHBNLQbSla8uLV98bGK1irk9Xd8/hj BpTedhgHk2F1iD7/jyWCldGr09gVxUC7blbzTm1Ryo6X9Rn3e8nFT3H8ajRjfSyt XunsDUzw6YXiBUhkwXbbqtBYLpxwMPXhUycocwTVxXiiSdp+xIGiwJQRoV76riI/ h62quKfKa64l2Qq/esXViccxg8cS81D3m8DEBkcg30+6aMYeuZM= =JpX3 -----END PGP SIGNATURE----- --r/rysAqudIic71jj-- --===============6892923048053208355== 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 --===============6892923048053208355==--