linux/drivers/mtd/devices
Li Zetao 000412e4bb mtd: spear_smi: 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_irq".

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>
Link: https://lore.kernel.org/linux-mtd/20230821031737.1973183-2-lizetao1@huawei.com
2023-08-21 09:44:39 +02:00
..
bcm47xxsflash.c
bcm47xxsflash.h
block2mtd.c block: replace fmode_t with a block-specific type for block open flags 2023-06-12 08:04:05 -06:00
docg3.c mtd: devices: docg3: Remove unnecessary (void*) conversions 2023-07-12 16:58:20 +02:00
docg3.h
Kconfig mtd: remove lart flash driver 2022-11-07 17:14:14 +01:00
Makefile mtd: remove lart flash driver 2022-11-07 17:14:14 +01:00
mchp23k256.c mtd: Explicitly include correct DT includes 2023-07-27 17:03:41 +02:00
mchp48l640.c mtd: Explicitly include correct DT includes 2023-07-27 17:03:41 +02:00
ms02-nv.c mtd: devices: Remove superfluous "break" 2021-05-26 10:58:26 +02:00
ms02-nv.h
mtd_dataflash.c mtd: Explicitly include correct DT includes 2023-07-27 17:03:41 +02:00
mtdram.c
phram.c mtd: phram: Allow cached mappings 2022-05-16 18:37:48 +02:00
pmc551.c
powernv_flash.c mtd: powernv_flash: Warn about failure to unregister mtd device 2022-06-09 15:06:15 +02:00
serial_flash_cmds.h
slram.c
spear_smi.c mtd: spear_smi: Use helper function devm_clk_get_enabled() 2023-08-21 09:44:39 +02:00
sst25l.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
st_spi_fsm.c mtd: st_spi_fsm: Convert to devm_platform_ioremap_resource() 2023-07-12 14:08:27 +02:00