NFC: st21nfcb: Improve ndlc comment

In ndlc_probe function we initialize timers. They are not started.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Christophe Ricard 2014-11-13 00:30:40 +01:00 committed by Samuel Ortiz
parent a4415e7614
commit ace91838ef

View File

@ -266,7 +266,7 @@ int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev,
*ndlc_id = ndlc; *ndlc_id = ndlc;
/* start timers */ /* initialize timers */
init_timer(&ndlc->t1_timer); init_timer(&ndlc->t1_timer);
ndlc->t1_timer.data = (unsigned long)ndlc; ndlc->t1_timer.data = (unsigned long)ndlc;
ndlc->t1_timer.function = ndlc_t1_timeout; ndlc->t1_timer.function = ndlc_t1_timeout;