]> git.baikalelectronics.ru Git - kernel.git/commit
serial/sunsu: add missing of_node_put()
authorYangtao Li <tiny.windzz@gmail.com>
Wed, 21 Nov 2018 16:06:15 +0000 (11:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Nov 2018 08:08:15 +0000 (09:08 +0100)
commit612299d49989cbc356c7539e169f8e48cc452648
tree4858023d9fedd8445d5803b2d2dda5024479fdff
parent4283ab2449303604df8734ab19a36b4f596bc55e
serial/sunsu: add missing of_node_put()

of_find_node_by_path() acquires a reference to the node
returned by it and that reference needs to be dropped by its caller.
This place is not doing this, so fix it.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sunsu.c