sbus: char: add of_node_put()
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>
This commit is contained in:
parent
e399ef1941
commit
87d81a23e2
drivers/sbus/char
|
@ -220,6 +220,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…
Reference in New Issue