of/unittest: Missing unlocks on error
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 3 May 2017 19:49:50 +0000 (22:49 +0300)
committerRob Herring <robh@kernel.org>
Thu, 4 May 2017 16:07:38 +0000 (11:07 -0500)
commit8756cd1ded1af222fda4470b08ba547f5625e656
treedc86e35b0f65288fabc372dbd5073cddc2c8fc3a
parentee320b33b4a316e22612ad6409517fc647f2a37c
of/unittest: Missing unlocks on error

Static checkers complain that we should unlock before returning.  Which
is true.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest.c