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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44645C43219 for ; Tue, 15 Nov 2022 11:23:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230474AbiKOLX2 (ORCPT ); Tue, 15 Nov 2022 06:23:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229956AbiKOLXZ (ORCPT ); Tue, 15 Nov 2022 06:23:25 -0500 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1203BFFF; Tue, 15 Nov 2022 03:23:22 -0800 (PST) Received: from wf0498.dip.tu-dresden.de ([141.76.181.242] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ouu27-0007jk-0k; Tue, 15 Nov 2022 12:23:15 +0100 From: Heiko Stuebner To: "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Sebastian Reichel Cc: Rob Herring , Krzysztof Kozlowski , linux-pm@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: Re: [PATCH 2/7] thermal: rockchip: Simplify clock logic Date: Tue, 15 Nov 2022 12:23:13 +0100 Message-ID: <5186412.LvFx2qVVIh@phil> In-Reply-To: <20221031175058.175698-3-sebastian.reichel@collabora.com> References: <20221031175058.175698-1-sebastian.reichel@collabora.com> <20221031175058.175698-3-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, 31. Oktober 2022, 18:50:53 CET schrieb Sebastian Reichel: > By using devm_clk_get_enabled() the clock acquisition and > enabling can be done in one step with automatic error > handling. > > Signed-off-by: Sebastian Reichel Oh nice, I didn't yet know this helper existed. Reviewed-by: Heiko Stuebner