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)
commit20d8e8611eb0596047fd4389be7a7203a883b9bf
tree4858023d9fedd8445d5803b2d2dda5024479fdff
parent3c81ba9242b79adc8a2e569815ec3b0caa3e03bf
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