NFC: st21nfcb: Add ndlc_close in st21nfcb_nci_remove
authorChristophe Ricard <christophe.ricard@gmail.com>
Sat, 6 Jun 2015 11:16:45 +0000 (13:16 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Jun 2015 22:34:23 +0000 (00:34 +0200)
commit6628b09f03dfbe2d3d234f1c6e5dff8752182be0
tree7f491e2dacf3ccf48499ffa4d6d0f4577a3808c6
parent4ac82e894825126816d7b7f662743335ce2b015e
NFC: st21nfcb: Add ndlc_close in st21nfcb_nci_remove

In order to release the st21nfcb properly close the ndlc
layer first.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfcb/st21nfcb.c