aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/nand_timings.c
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2023-08-21 11:17:35 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-08-21 09:44:07 +0200
commit4195b6420b43808ad2f984b345cb90a2842817c4 (patch)
treedbda2545bada1af9ec347ad29654c56414cc7c2c /drivers/mtd/nand/raw/nand_timings.c
parenta95da2721268e237eab6b2eeb9c6d117943d642f (diff)
mtd: rawnand: vf610_nfc: Use helper function devm_clk_get_enabled()
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 enables (and possibly prepares) the clocks for the whole lifetime of the device. Moreover, it is no longer necessary to unprepare and disable the clocks explicitly, so drop the label "err_disable_clk". Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Li Zetao <lizetao1@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/nand_timings.c')
0 files changed, 0 insertions, 0 deletions