Skip to content

Commit

Permalink
sbus: char: add of_node_put()
Browse files Browse the repository at this point in the history
[ Upstream commit 87d81a2 ]

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>
  • Loading branch information
Yangtao Li authored and Greg Kroah-Hartman committed Dec 21, 2018
1 parent 61bbbe5 commit 1cb0f44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/sbus/char/display7seg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1cb0f44

Please sign in to comment.