From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F07B5130A47; Mon, 19 Aug 2024 15:59:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724083175; cv=none; b=c10jEtVxdBbL/xUjOCebFXLj1lSeTUybPQCBV4SminuO59IczZOEFXvXQPuvmwHMtKOy3RcyEpA0lU559h3e7qIvu5O9RJLwUSbGjzbbiSxijM/PDmBOtV2tTy7k548y/DAQ8YkySzyTwUNjWJMTsiKlvh36k3vl/omEGFlENPs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724083175; c=relaxed/simple; bh=Zefl3ZBQh67r90IMzBiL4ht/hrVdZ8R3SeXLQUjx7I0=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Is0APeZWeNrLFVLznNyP7hXa+eLaw4X9niyTDKqUDsTX+caEsw0hEJ99xIrDtS0RYAut/Wh33QAQD5am1eFMTlEEfJhDD9GIM/XLh8zm2U8IgyXAzfg6s8nGmsZEjQ1TsNfsbUpouOBH3RUNxZR5Pzr285xRaOF03ri3x4rvCOg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Wncf32MQcz6K97Y; Mon, 19 Aug 2024 23:56:27 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 7632E140A78; Mon, 19 Aug 2024 23:59:30 +0800 (CST) Received: from localhost (10.203.177.66) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 19 Aug 2024 16:59:28 +0100 Date: Mon, 19 Aug 2024 16:59:26 +0100 From: Jonathan Cameron To: Krzysztof Kozlowski CC: Krzysztof Kozlowski , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Lukasz Luba , Alim Akhtar , Maxime Coquelin , Alexandre Torgue , Thierry Reding , Jonathan Hunter , Santosh Shilimkar , , , , , , Subject: Re: [PATCH v2 12/13] memory: ti-aemif: simplify with devm_clk_get_enabled() Message-ID: <20240819165926.00004456@Huawei.com> In-Reply-To: <20240816-cleanup-h-of-node-put-memory-v2-12-9eed0ee16b78@linaro.org> References: <20240816-cleanup-h-of-node-put-memory-v2-0-9eed0ee16b78@linaro.org> <20240816-cleanup-h-of-node-put-memory-v2-12-9eed0ee16b78@linaro.org> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500004.china.huawei.com (7.191.163.9) To lhrpeml500005.china.huawei.com (7.191.163.240) On Fri, 16 Aug 2024 12:54:36 +0200 Krzysztof Kozlowski wrote: > Use devm_clk_get_enabled() to drop clock prepare/unprepare parts and > make code simpler. > > Suggested-by: Jonathan Cameron > Signed-off-by: Krzysztof Kozlowski LGTM Reviewed-by: Jonathan Cameron