diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2018-11-20 08:30:40 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-21 14:11:36 +0100 |
commit | 38d3f5fb60cecc34e8b7906d73dde635b14ed6de (patch) | |
tree | baee7f463f5bdd0ba1fcc933123d6bb81ee92f26 /drivers | |
parent | 5ba8d8b5a27c3d50f6544d1ce8c6732c8b36aedc (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/sbus/char/display7seg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index 33fbe8249fd5..044cffbc45e8 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c @@ -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; |