mtd: nand: vf610: remove the unnecessary of_node_put()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 9 Feb 2018 22:28:34 +0000 (01:28 +0300)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 12 Feb 2018 22:36:04 +0000 (23:36 +0100)
commitf5a666bdd585b47bea60cec3cb5f4d9fbbc6e409
tree91faf1f5021b674304d73a17eda28d7e6621221f
parent532a1cf9a0f22f1a8699284e74aecf0bda3ffd29
mtd: nand: vf610: remove the unnecessary of_node_put()

Calling of_node_put() in vf610_nfc_probe() is wrong because nothing in
this code retains a reference to the DT node.

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/vf610_nfc.c