NFC: st21nfcb: Improve ndlc comment
authorChristophe Ricard <christophe.ricard@gmail.com>
Wed, 12 Nov 2014 23:30:40 +0000 (00:30 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 2 Dec 2014 01:02:00 +0000 (02:02 +0100)
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>
drivers/nfc/st21nfcb/ndlc.c

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