NFC: st21nfcb: Move st21nfcb_nci_remove in ndlc_remove
authorChristophe Ricard <christophe.ricard@gmail.com>
Sat, 6 Jun 2015 11:16:49 +0000 (13:16 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Jun 2015 22:34:25 +0000 (00:34 +0200)
commite8b72c205e5e02b6574be1e83c0c8c99335f8288
tree010b3e76e4768863c3b9817c6cbf6e888610d38c
parent0e70cba71f8b61e0a0c7df526f5cee2d842ee93c
NFC: st21nfcb: Move st21nfcb_nci_remove in ndlc_remove

Removing st21nfcb may need to execute some specific commands before
stopping the ndlc state machine.

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