]> 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)
commit1715bcbb08f039d41c4abb7d25b94b44f9272b9e
treec7c119c215042ffd3288440f3b81d32dfeef0903
parentc1a6363a5274aea2ee9fd9110297b58aaf1b30d9
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