ath79: rb91x_nand: use dev_err_probe
authorRosen Penev <[email protected]>
Thu, 15 Aug 2024 02:21:54 +0000 (19:21 -0700)
committerHauke Mehrtens <[email protected]>
Sun, 22 Sep 2024 16:23:08 +0000 (18:23 +0200)
commit8b8ea076d793d2284bab6feb8774f967ca3e05c6
treea3fa95603eb921c6e8a63895581e264aff4614ea
parent0b6f38c60a96c7a75577b7ed4d8b6b6bc8e426b4
ath79: rb91x_nand: use dev_err_probe

Simplifies the error path and avoids having to handle -EPROBE_DEFER
manually.

Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16416
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/ath79/files/drivers/mtd/nand/raw/rb91x_nand.c