sbus: char: add of_node_put()
[ Upstream commit 87d81a23e24f24ebe014891e8bdf3ff8785031e8 ] use of_node_put() to release the refcount. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
61bbbe52bb
commit
1cb0f441fa
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ static int d7s_probe(struct platform_device *op)
|
|||
dev_set_drvdata(&op->dev, p);
|
||||
d7s_device = p;
|
||||
err = 0;
|
||||
of_node_put(opts);
|
||||
|
||||
out:
|
||||
return err;
|
||||
|
|
Loading…
Add table
Reference in a new issue