aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2014-11-12 18:30:40 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2014-12-01 20:02:00 -0500
commitace91838eff5bb4665bfaffd428bee50934b08ca (patch)
tree1a782255ca840b201e016aa7d2cc836dfda9a9b6
parenta4415e761404324dfbf7aa80aa3980103d7071f9 (diff)
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>
-rw-r--r--drivers/nfc/st21nfcb/ndlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/st21nfcb/ndlc.c b/drivers/nfc/st21nfcb/ndlc.c
index e7bff8921d11..bac50e805f1d 100644
--- a/drivers/nfc/st21nfcb/ndlc.c
+++ b/drivers/nfc/st21nfcb/ndlc.c
@@ -266,7 +266,7 @@ int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev,
266 266
267 *ndlc_id = ndlc; 267 *ndlc_id = ndlc;
268 268
269 /* start timers */ 269 /* initialize timers */
270 init_timer(&ndlc->t1_timer); 270 init_timer(&ndlc->t1_timer);
271 ndlc->t1_timer.data = (unsigned long)ndlc; 271 ndlc->t1_timer.data = (unsigned long)ndlc;
272 ndlc->t1_timer.function = ndlc_t1_timeout; 272 ndlc->t1_timer.function = ndlc_t1_timeout;