projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2059581
)
sbus: char: add of_node_put()
author
Yangtao Li
<tiny.windzz@gmail.com>
Tue, 20 Nov 2018 13:30:40 +0000
(08:30 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 21 Dec 2018 13:15:17 +0000
(14:15 +0100)
[ 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>
drivers/sbus/char/display7seg.c
patch
|
blob
|
history
diff --git
a/drivers/sbus/char/display7seg.c
b/drivers/sbus/char/display7seg.c
index
5c8ed73
..
a36e4cf
100644
(file)
--- 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;