linux/drivers/mtd/nand/raw
Li Zetao 4195b6420b mtd: rawnand: vf610_nfc: Use helper function devm_clk_get_enabled()
Since commit 7ef9651e97 ("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>
2023-08-21 09:44:07 +02:00
..
atmel mtd: rawnand: atmel: Use devm_platform_get_and_ioremap_resource() 2023-07-12 14:07:55 +02:00
bcm47xxnflash mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
brcmnand mtd: rawnand: Propagate error and simplify ternary operators for brcmstb_nand_wait_for_completion() 2023-08-18 16:38:33 +02:00
gpmi-nand mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
ingenic mtd: rawnand: ingenic: fix empty stub helper definitions 2023-05-26 19:40:32 +02:00
ams-delta.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
arasan-nand-controller.c mtd: rawnand: arasan: Use helper function devm_clk_get_enabled() 2023-08-21 09:39:21 +02:00
au1550nd.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
cadence-nand-controller.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
cafe_nand.c mtd: rawnand: cafe: Use correct function name in comment block 2022-09-21 10:38:46 +02:00
cs553x_nand.c mtd: rawnand: cs553x: simplify the return expression of cs553x_write_ctrl_byte() 2022-05-12 16:43:03 +02:00
davinci_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
denali_dt.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
denali_pci.c mtd: rawnand: denali: Use managed device resources 2022-04-21 09:34:00 +02:00
denali.c mtd: rawnand: Use the new ECC engine type enumeration 2020-09-28 15:59:42 +02:00
denali.h mtd: rawnand: Replace zero-length array with flexible-array member 2020-03-11 16:17:54 +01:00
diskonchip.c SPI NOR core changes: 2020-12-16 18:48:16 +01:00
fsl_elbc_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
fsl_ifc_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
fsl_upm.c mtd: rawnand: fsl_upm: Use devm_platform_get_and_ioremap_resource() 2023-07-12 14:07:54 +02:00
fsmc_nand.c mtd: rawnand: fsmc: Use helper function devm_clk_get_enabled() 2023-08-21 09:39:22 +02:00
gpio.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
hisi504_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
intel-nand-controller.c mtd: rawnand: intel: Use helper function devm_clk_get_enabled() 2023-08-21 09:39:23 +02:00
internals.h mtd: rawnand: add basic sandisk manufacturer ops 2023-06-19 10:20:55 +02:00
Kconfig mtd: rawnand: marvell: add support for AC5 SoC 2023-07-15 18:05:38 +02:00
lpc32xx_mlc.c mtd: rawnand: lpc32xx_mlc: Use devm_platform_get_and_ioremap_resource() 2023-07-12 14:07:52 +02:00
lpc32xx_slc.c mtd: rawnand: lpc32xx_slc: Use helper function devm_clk_get_enabled() 2023-08-21 09:39:25 +02:00
Makefile nand: oxnas_nand: remove obsolete raw nand driver 2023-07-12 13:42:49 +02:00
marvell_nand.c mtd: rawnand: marvell: add support for AC5 SoC 2023-07-15 18:05:38 +02:00
meson_nand.c mtd: rawnand: meson: fix build error 2023-07-28 14:32:31 +02:00
mpc5121_nfc.c mtd: rawnand: mpc5121: Use helper function devm_clk_get_enabled() 2023-08-21 09:39:26 +02:00
mtk_nand.c mtd: rawnand: mtk: Use helper function devm_clk_get_enabled() 2023-08-21 09:39:27 +02:00
mxc_nand.c mtd: rawnand: mxc: Convert to devm_platform_ioremap_resource() 2023-07-12 14:07:45 +02:00
mxic_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
nand_amd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
nand_base.c mtd: rawnand: export 'nand_exit_status_op()' 2023-07-12 13:42:52 +02:00
nand_bbt.c mtd: always initialize 'stats' in struct mtd_oob_ops 2022-09-21 10:38:07 +02:00
nand_esmt.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_hynix.c mtd: rawnand: hynix: fix up bit 0 of sdr_timing_mode 2023-03-22 17:05:51 +01:00
nand_ids.c mtd: rawnand: add support for the Sandisk SDTNQGAMA chip 2023-06-19 10:20:56 +02:00
nand_jedec.c mtd: rawnand: Check the data only read pattern only once 2023-01-13 17:35:26 +01:00
nand_legacy.c mtd: rawnand: Avoid accessing NV-DDR timings from legacy code 2021-05-26 10:43:52 +02:00
nand_macronix.c mtd: rawnand: macronix: OTP access for MX30LFxG18AC 2023-06-19 10:21:00 +02:00
nand_micron.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_onfi.c mtd: rawnand: Check the data only read pattern only once 2023-01-13 17:35:26 +01:00
nand_samsung.c mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant 2020-09-28 15:59:48 +02:00
nand_sandisk.c mtd: rawnand: add basic sandisk manufacturer ops 2023-06-19 10:20:55 +02:00
nand_timings.c mtd: rawnand: Add a helper to find the closest ONFI NV-DDR mode 2021-05-26 10:43:59 +02:00
nand_toshiba.c mtd: rawnand: kioxia: Add support for TH58NVG3S0HBAI4 2022-05-12 16:43:01 +02:00
nandsim.c mtd: rawnand: nandsim: Artificially prevent sequential page reads 2023-03-22 16:59:29 +01:00
ndfc.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
omap2.c mtd: rawnand: omap2: Use devm_platform_get_and_ioremap_resource() 2023-07-12 14:07:49 +02:00
omap_elm.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
orion_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
pasemi_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
pl35x-nand-controller.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
plat_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
qcom_nandc.c mtd: rawnand: qcom: Add read/read_start ops in exec_op path 2023-08-21 09:35:30 +02:00
r852.c mtd: rawnand: r852: use DEVICE_ATTR_RO() helper macro 2021-06-18 09:45:21 +02:00
r852.h mtd: rawnand: r852: Move the ECC initialization to ->attach_chip() 2020-11-20 12:30:53 +01:00
renesas-nand-controller.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
rockchip-nand-controller.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
s3c2410.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
sh_flctl.c mtd: rawnand: sh_flctl: Use devm_platform_get_and_ioremap_resource() 2023-07-12 14:07:47 +02:00
sharpsl.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
sm_common.c mtd: always initialize 'stats' in struct mtd_oob_ops 2022-09-21 10:38:07 +02:00
sm_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
socrates_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
stm32_fmc2_nand.c mtd: rawnand: stm32_fmc2: Use helper function devm_clk_get_enabled() 2023-08-21 09:39:29 +02:00
sunxi_nand.c mtd: rawnand: sunxi: Use helper function devm_clk_get_enabled() 2023-08-21 09:39:30 +02:00
tegra_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00
txx9ndfmc.c Revert "mtd: rawnand: txx9ndfmc: Fix external use of SW Hamming ECC helper" 2021-10-15 12:21:01 +02:00
vf610_nfc.c mtd: rawnand: vf610_nfc: Use helper function devm_clk_get_enabled() 2023-08-21 09:44:07 +02:00
xway_nand.c mtd: nand: Convert to platform remove callback returning void 2023-04-11 15:42:24 +02:00