openwrt/target/linux/ramips/files/drivers/mtd/nand
Rosen Penev 11403697c9 ramips: mt7621_nand: use clk_get_optional_enabled
Simplifies the code by removing clk_disable_unprepare.

Also removed gotos and used dev_err_probe.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16133
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-08-12 19:40:48 +02:00
..
raw ramips: mt7621_nand: use clk_get_optional_enabled 2024-08-12 19:40:48 +02:00