of: Update structure of code to be clearer, also remove BUG_ON()
authorFrank Rowand <frank.rowand@am.sony.com>
Sat, 29 Oct 2016 06:26:27 +0000 (23:26 -0700)
committerRob Herring <robh@kernel.org>
Tue, 15 Nov 2016 15:17:15 +0000 (09:17 -0600)
commit624ab2a49ca30fd61f6c268567d74aaaf949a489
treec2d4680a345500b71842eefec4f9181e9695f37a
parent25e1687767612e593c054d5855f6717cf8104c1f
of: Update structure of code to be clearer, also remove BUG_ON()

Remove BUG_ON(), which is frowned upon and not needed here.
Restructure to remove some excessive complexity.

Signed-off-by: Frank Rowand <frank.rowand@am.sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/resolver.c