sbus: char: add of_node_put()
PATCH 1/1 sbus: char: add of_node_put()
use of_node_put() to release the refcount.
Signed-off-by Yangtao Li <[email protected]>
--- drivers/sbus/char/display7seg.c | 1 + 1 file changed, 1 insertion(+)
drivers/sbus/char/display7seg.c +1 -0
@@ -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;
Signature · 1 line
2.17.0
From: Yangtao Li <[email protected]>
Date: Tue, 20 Nov 2018 08:30:40 -0500
Quoted 3 lines
use
of_node_put()to release the refcount.Signed-off-by Yangtao Li <[email protected]>
Applied.