NFC: nci: Use __nci_request for exported routines
authorSamuel Ortiz <sameo@linux.intel.com>
Sat, 3 Oct 2015 03:02:28 +0000 (05:02 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 3 Oct 2015 03:18:55 +0000 (05:18 +0200)
commit21d19f87d483fbac66ca24863b8c8d52a7ab539d
treee4b80a23f7a77eb325d01283cdf9cebd485ec760
parentf6d3125fa3c2f55ddf7cf69365c41089de6cfae6
NFC: nci: Use __nci_request for exported routines

Since we do not know in which context drivers will call these
routines, they should use the unlocked version of nci_request,
i.e. __nci_request.
It is up to drivers to know/decide if they need to take the
req_lock mutex before calling those routines. When being called
from the NCI setup routine there is no need to do so as ops->setup
is called under req_lock.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/nci/core.c