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)
commit9bac75d0eceb8d7fea74f11a8b304aa1119681f2
treec7c119c215042ffd3288440f3b81d32dfeef0903
parent761a2c4f90d6ea5a821050edccff13adc4a34fae
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