]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: st21nfca: st21nfca_hci_i2c_probe returns st21nfca_hci_probe result.
authorChristophe Ricard <christophe.ricard@gmail.com>
Mon, 31 Mar 2014 22:34:05 +0000 (00:34 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 21 Apr 2014 22:37:30 +0000 (00:37 +0200)
commitbe310c5244f511feb939c9ba22562dc6571721a8
treec7c119c215042ffd3288440f3b81d32dfeef0903
parent66fc5f71deaa4cda1a1c1436ad4d6b91b8b91a78
NFC: st21nfca: st21nfca_hci_i2c_probe returns st21nfca_hci_probe result.

st21nfca_hci_probe return 0 in case of successful call and a different
value in any other cases.

There is no need to check for st21nfca_hci_probe return as this will be
checked after st21nfca_hci_i2c_probe is completed.

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