NFC: nfcmrvl_uart: fix device-node leak during probe
authorJohan Hovold <johan@kernel.org>
Thu, 30 Mar 2017 10:15:40 +0000 (12:15 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 18 Jun 2017 21:57:59 +0000 (23:57 +0200)
commitd0607aa4aee88cb097b694caa619e68f1e0a39c6
tree5e32a978819074823f530f7e48ae14c2f9c72bd0
parent45dd39b974f6632222dd5cdcbea7358a077ab0b0
NFC: nfcmrvl_uart: fix device-node leak during probe

Make sure to release the device-node reference when done parsing the
node.

Fixes: e097dc624f78 ("NFC: nfcmrvl: add UART driver")
Cc: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nfcmrvl/uart.c