summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2018-11-20 14:30:40 +0100
committerDavid S. Miller <davem@davemloft.net>2018-12-03 05:55:22 +0100
commit87d81a23e24f24ebe014891e8bdf3ff8785031e8 (patch)
tree3c619c03a21a2ee17eff8fd429ebc62ed2cffa29
parentsparc32: supress another implicit-fallthrough warning (diff)
downloadlinux-87d81a23e24f24ebe014891e8bdf3ff8785031e8.tar.xz
linux-87d81a23e24f24ebe014891e8bdf3ff8785031e8.zip
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>
-rw-r--r--drivers/sbus/char/display7seg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c
index 5c8ed7350a04..a36e4cf1841d 100644
--- a/drivers/sbus/char/display7seg.c
+++ b/drivers/sbus/char/display7seg.c
@@ -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;