]> git.baikalelectronics.ru Git - kernel.git/commit
of/fdt: Remove of_scan_flat_dt() usage for __fdt_scan_reserved_mem()
authorRob Herring <robh@kernel.org>
Wed, 20 Oct 2021 20:44:36 +0000 (15:44 -0500)
committerRob Herring <robh@kernel.org>
Tue, 2 Nov 2021 01:33:56 +0000 (20:33 -0500)
commit0a91d8669000db14240d926fb7662688ca9d0e51
treede794993689c10b1ca53b7f782487e8e9f1f7f64
parentb7428f975c8cf470a03f88bcf790da4c2e79cb13
of/fdt: Remove of_scan_flat_dt() usage for __fdt_scan_reserved_mem()

Use of the of_scan_flat_dt() function predates libfdt and is discouraged
as libfdt provides a nicer set of APIs. Rework __fdt_scan_reserved_mem()
to be called directly and use libfdt.

Cc: Frank Rowand <frowand.list@gmail.com>
Link: https://lore.kernel.org/r/20211029183615.2721777-1-robh@kernel.org/
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/fdt.c