kernel: replace downstream get_mtd_device_by_node() implementation
authorRafał Miłecki <rafal@milecki.pl>
Wed, 17 Aug 2022 21:20:45 +0000 (23:20 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Sun, 28 Aug 2022 11:06:24 +0000 (13:06 +0200)
commit2b2e5fef0180428b68add42c5c535228eb82a45c
tree908e03f06ba18a91af8169698e7fb1d3c55dcc02
parentf3870546a544c39c6fde2e7e014394aa085d8057
kernel: replace downstream get_mtd_device_by_node() implementation

Use upstream of_get_mtd_device_by_node() which should behave pretty much
the same. Implementation differences:

get_mtd_device_by_node()  of_get_mtd_device_by_node()
----                      ----
np->dev.of_node           mtd_get_of_node(np)
-EPROBE_DEFER             -ENODEV

Cc: Bernhard Frauendienst <openwrt@nospam.obeliks.de>
Cc: Bernhard Frauendienst <kernel@nospam.obeliks.de>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/generic/pending-5.10/495-mtd-core-add-get_mtd_device_by_node.patch [deleted file]
target/linux/generic/pending-5.10/497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch
target/linux/generic/pending-5.15/495-mtd-core-add-get_mtd_device_by_node.patch [deleted file]
target/linux/generic/pending-5.15/497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch