summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2014-11-12 23:30:40 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2014-12-02 01:02:00 (GMT)
commitace91838eff5bb4665bfaffd428bee50934b08ca (patch)
tree1a782255ca840b201e016aa7d2cc836dfda9a9b6 /drivers
parenta4415e761404324dfbf7aa80aa3980103d7071f9 (diff)
downloadlinux-ace91838eff5bb4665bfaffd428bee50934b08ca.tar.xz
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>
Diffstat (limited to 'drivers')
-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 e7bff89..bac50e8 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,
*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;