commit | 87d81a23e24f24ebe014891e8bdf3ff8785031e8 | [log] [tgz] |
---|---|---|
author | Yangtao Li <tiny.windzz@gmail.com> | Tue Nov 20 08:30:40 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sun Dec 02 20:55:22 2018 -0800 |
tree | 3c619c03a21a2ee17eff8fd429ebc62ed2cffa29 | |
parent | e399ef194171717aefa78838d02b1e92267be2b1 [diff] |
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>
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index 5c8ed73..a36e4cf 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c
@@ -220,6 +220,7 @@ dev_set_drvdata(&op->dev, p); d7s_device = p; err = 0; + of_node_put(opts); out: return err;