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=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 74C73C433ED for ; Tue, 6 Apr 2021 20:31:20 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 EAE54613D2 for ; Tue, 6 Apr 2021 20:31:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EAE54613D2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=desiato.20200630; 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=Yjy9SrfGZdX8XbqvVquVqPVZxyaSKMT7q7aoNoHO+k0=; b=AWNBesBaTgbfvpwB2Ue/UNrRp t5EE7rSxF8CshkZCBTqZnILLn9RKXQsRxz64zIWCuBcSm6pcxTub7Gb6/ICrTNLnOrSFf+YTecm3d PeHwoGZLoakispEtZs3bMMTLDx07HM2ppPJlYEMf/QCYiqCFLbUFNJgJ+nl62T/O0cSUvxSXqORrM iNtZK+DWcBWd82QOARAbmnWTC9VHECekO+CkalbiBo4J4Qm/ShJs+z6KZJkgWJfU26HV/ls1FGNwo VxT4VONLnPlP0xbfZthHlJV6LZ1jHmr+fz7Wsr6Ch3Gfp9P3Eu18mVwHSeBQCD713yukBt09YgI+A 2g3I81zwg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lTsK1-003PnW-VS; Tue, 06 Apr 2021 20:29:14 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lTsJw-003PkB-UR for linux-arm-kernel@lists.infradead.org; Tue, 06 Apr 2021 20:29:11 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 260A3613D2; Tue, 6 Apr 2021 20:29:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617740944; bh=ycO3Lven3n9FV1W0louvhRA6+NVC79zMPhxR2jAN3uM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L3Ic6dXC4Qc4OMVO2UNJzIGGQVlGjKjF8QLC7GX4ZyGywZ/dwFA2EKu/ffCHcikJg j2ncSDod4oPrFX4UIIpP3ixsWHNArZqxFWFuCPk0h9kqBLRi33yUqSKru5x/g6bXr9 zELAJ+hhJQKGrqjQV6CASqSB0e/mITCzf0nhe/I61j39GwfCVai4NmroVqCGEQT452 oo/nFldJ6JpegsFHEAvkcYSHJshUfFEsEt4hu1k0yOByWZ3izGrYVehEMizRZiTyeX YBmVphfgkPpoo2lZUTl0A/7CVmofrIVV4p2hn+DYxfhE2RYC6eLujHoKoe/w0xzBbq UO1S7JfnQdC8A== Date: Tue, 6 Apr 2021 22:29:01 +0200 From: Wolfram Sang To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Cc: Michael Turquette , Stephen Boyd , Oleksij Rempel , Shawn Guo , Sascha Hauer , linux-i2c@vger.kernel.org, kernel@pengutronix.de, Fabio Estevam , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Subject: Re: [PATCH v4.1 5/6] i2c: imx: Simplify using devm_clk_get_enableded() Message-ID: <20210406202901.GB3804@kunai> Mail-Followup-To: Wolfram Sang , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Oleksij Rempel , Shawn Guo , Sascha Hauer , linux-i2c@vger.kernel.org, kernel@pengutronix.de, Fabio Estevam , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= References: <20210330181755.204339-6-u.kleine-koenig@pengutronix.de> <20210406064618.24194-1-uwe@kleine-koenig.org> MIME-Version: 1.0 In-Reply-To: <20210406064618.24194-1-uwe@kleine-koenig.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210406_212910_030651_6386E281 X-CRM114-Status: UNSURE ( 8.94 ) 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: multipart/mixed; boundary="===============5049141256589025868==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5049141256589025868== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="98e8jtXdkpgskNou" Content-Disposition: inline --98e8jtXdkpgskNou Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 06, 2021 at 08:46:18AM +0200, Uwe Kleine-K=C3=B6nig wrote: > From: Uwe Kleine-K=C3=B6nig >=20 > 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 So, this will go in with the rest of this series? In that case: Acked-by: Wolfram Sang --98e8jtXdkpgskNou Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmBsxI0ACgkQFA3kzBSg KbaqwhAAs6JTJGXDGGmYMqARRRvgzGiDtUS9ddeJLb21TWjKhFwDS6drdE0Hmxg1 BBzUeEtZ7hHyfQJyH7r7cKFgNkH2TXc1ggxCt1UxGPw7QINWsC+FBvQN09SUxpt0 4GnSmeYF1ECvhfrC0TR+HaDo0ca8G2fJ/ZykKHnyZMyZeDUisVAOcfuh2IRJlWJT nQT/3BuJ0cJNkfcMH9+alHjRJHB4zjhw/Ag9pmJfaAuMjz8bfEWMGt3FwDSdz7Oy nY4rH2QGR2X8XifjLAxbXYC+ICoFDRTQFldThj56cINM8noSk40oGqiev5IfwRED Uycs3qU/RM4Ny+4ySGJXWTBStmSl/UxmD9+CEkyxXbqAWi7RSAInlJwV/+pjcYek UeXQDVpR4Mh9IUlBMvsHseijiew7SjKcA2P15nyvvWDA10z9I4x4sVK1Oke1pgML vTDnC+IbOnl9tdbUyetB4hhJtZtyleJb4ZaSOLHNpfW8BfDNCsB+ik8TywyT5Gbc 1wWaQN3V3VUVXWa3aXSFvefym7007A182L2cR6vJQif+4AATt136wUZYeWEV+BUw /uscUkkY9JlqSCKiWCb9L9z6XYxUGf4Zh1BEWkXmOwsVgLCDWiJd0knbKVc62WnY gAJJFWE65oBQmyOGdw6sYMCdsopF9M8f3zqEa2DJ40wQv+Mq0kc= =Y2Nf -----END PGP SIGNATURE----- --98e8jtXdkpgskNou-- --===============5049141256589025868== 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 --===============5049141256589025868==--