Thread (58 messages) 58 messages, 3 authors, 2023-08-21

Re: [PATCH -next v2 02/12] mtd: rawnand: arasan: Use helper function devm_clk_get_enabled()

From: Miquel Raynal <miquel.raynal@bootlin.com>
Date: 2023-08-18 08:11:00
Also in: linux-mediatek, linux-sunxi

Hi Li,

lizetao1@huawei.com wrote on Fri, 18 Aug 2023 15:46:32 +0800:
Since commit 7ef9651e9792 ("clk: Provide new devm_clk helpers for prepared
and enabled clocks"), devm_clk_get() and clk_prepare_enable() can now be
replaced by devm_clk_get_enabled() when driver enable (and possibly
For all the commit logs:		  the driver enables (and possibly prepares)
prepare) the clocks for the whole lifetime of the device. Moreover, it is
no longer necessary to unprepare and disable the clock explicitly, so drop
For all the commit logs:		       the clocks

The ",so drop the label xxx" is not needed I believe.
the label "disable_bus_clk" and "disable_controller_clk".

Signed-off-by: Li Zetao <redacted>
---
Thanks,
Miquèl

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help