diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2014-11-13 00:30:40 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-12-02 02:02:00 +0100 |
commit | ace91838eff5bb4665bfaffd428bee50934b08ca (patch) | |
tree | 1a782255ca840b201e016aa7d2cc836dfda9a9b6 /drivers/nfc | |
parent | a4415e761404324dfbf7aa80aa3980103d7071f9 (diff) | |
download | linux-stable-ace91838eff5bb4665bfaffd428bee50934b08ca.tar.gz linux-stable-ace91838eff5bb4665bfaffd428bee50934b08ca.tar.bz2 linux-stable-ace91838eff5bb4665bfaffd428bee50934b08ca.zip |
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/nfc')
-rw-r--r-- | drivers/nfc/st21nfcb/ndlc.c | 2 |
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, *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; |