]> asedeno.scripts.mit.edu Git - linux.git/commit
of: unittest: find overlays[] entry by name instead of index
authorFrank Rowand <frank.rowand@sony.com>
Fri, 5 Oct 2018 03:41:03 +0000 (20:41 -0700)
committerFrank Rowand <frank.rowand@sony.com>
Fri, 9 Nov 2018 06:12:31 +0000 (22:12 -0800)
commit160b1d4e4127f0ef5d9ac281b6fa6ef1fb78c45f
treebe20d4b09e04c66e5dd19e127a7ae39c9ed1376f
parent5babefb7f7ab1f23861336d511cc666fa45ede82
of: unittest: find overlays[] entry by name instead of index

One accessor of overlays[] was using a hard coded index value to
find the correct array entry instead of searching for the entry
containing the correct name.

Tested-by: Alan Tull <atull@kernel.org>
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
drivers/of/unittest.c