]> www.infradead.org Git - users/jedix/linux-maple.git/commit
of: unittest: Add a test case for of_find_node_opts_by_path() with alias+path+options
authorZijun Hu <quic_zijuhu@quicinc.com>
Mon, 16 Dec 2024 00:40:41 +0000 (08:40 +0800)
committerRob Herring (Arm) <robh@kernel.org>
Mon, 16 Dec 2024 21:34:24 +0000 (15:34 -0600)
commitc1b4b91a5e5532602e40b3abe14e6e464d3499f9
tree868b23e34a87b20ddaf22ba73b41f6b355d6e4f6
parentd1ad636741e49ad3450e270f6285da23003e912b
of: unittest: Add a test case for of_find_node_opts_by_path() with alias+path+options

To test of_find_node_opts_by_path() take @path argument with pattern:

"alias-name/node-name-1/.../node-name-N:options", for example:
"testcase-alias/phandle-tests/consumer-a:testaliasoption"

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20241216-of_core_fix-v2-2-e69b8f60da63@quicinc.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
drivers/of/unittest.c