1
0
Fork 0

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>
hifive-unleashed-5.1
Yangtao Li 2018-11-20 08:30:40 -05:00 committed by David S. Miller
parent e399ef1941
commit 87d81a23e2
1 changed files with 1 additions and 0 deletions

View File

@ -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;