From: Christophe Ricard Date: Wed, 12 Nov 2014 23:30:40 +0000 (+0100) Subject: NFC: st21nfcb: Improve ndlc comment X-Git-Tag: firefly_0821_release~176^2~2717^2~28^2~16^2~14 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ace91838eff5bb4665bfaffd428bee50934b08ca;p=firefly-linux-kernel-4.4.55.git NFC: st21nfcb: Improve ndlc comment In ndlc_probe function we initialize timers. They are not started. Signed-off-by: Christophe Ricard Signed-off-by: Samuel Ortiz --- 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;