Rosen Penev 78d1689757 ath79: ar7200 usb phy: simplify probe
Even though optional is used, there's are still pointless NULL
assignments.

Use dev_err_probe to avoid manually handling EPROBE_DEFER.

Use devm_platform_iomap_resource. No struct resource needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Tested-by: Shiji Yang <yangshiji66@qq.com> on NETGEAR R6100.
Link: https://github.com/openwrt/openwrt/pull/16519
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-10-07 22:21:08 +02:00
..
2024-06-05 09:34:06 +02:00
2024-09-20 18:42:56 +01:00
2024-10-05 12:43:51 +02:00
2024-10-05 12:43:51 +02:00
2024-08-30 11:39:44 +02:00
2024-05-29 17:56:28 +02:00
2024-10-05 12:43:51 +02:00
2024-08-25 15:08:25 +02:00
2024-04-25 14:33:22 +02:00
2024-09-16 00:19:49 +02:00
2024-09-20 18:51:06 +01:00
2024-09-15 16:32:48 +02:00
2024-10-05 12:43:51 +02:00
2024-08-03 11:36:59 +02:00