diff options
author | Rob Herring <[email protected]> | 2021-10-29 09:40:55 -0500 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2021-12-06 16:12:53 +0000 |
commit | b6363fe7b5135bfb5aea03f414148b3c2417702e (patch) | |
tree | 99163f3f9ccefdfaf02e796a003a3cc3ca53baa2 /drivers/usb/cdns3/cdns3-imx.c | |
parent | d658220a1c45cb721a80a9af7d1d70b35c7b74ea (diff) |
arm64: Simplify checking for populated DT
Use of the of_scan_flat_dt() function predates libfdt and is discouraged
as libfdt provides a nicer set of APIs. Rework dt_scan_depth1_nodes to
use libfdt calls directly, and rename it to dt_is_stub() to reflect
exactly what it checking.
Cc: Will Deacon <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Reviewed-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions