NFC: st21nfca: Rework st21nfca_hci_event_received to route event to relevent gate.
authorChristophe Ricard <christophe.ricard@gmail.com>
Wed, 12 Nov 2014 23:30:39 +0000 (00:30 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 2 Dec 2014 01:02:00 +0000 (02:02 +0100)
commita4415e761404324dfbf7aa80aa3980103d7071f9
treeb2f1b093a0387561b6ea2010c38949242ad6e183
parenta688bf55c5908d2206307a9f76d31172ee2b2d92
NFC: st21nfca: Rework st21nfca_hci_event_received to route event to relevent gate.

As many event with the same id can come from several gates,
it will be easier to manage each of them by gate.

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