projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4415e7
)
NFC: st21nfcb: Improve ndlc comment
author
Christophe Ricard
<christophe.ricard@gmail.com>
Wed, 12 Nov 2014 23:30:40 +0000
(
00:30
+0100)
committer
Samuel 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
patch
|
blob
|
history
diff --git
a/drivers/nfc/st21nfcb/ndlc.c
b/drivers/nfc/st21nfcb/ndlc.c
index e7bff8921d1143876246c90955649181af573dce..bac50e805f1d565ba17d4c0056fc8a2f2847ae90 100644
(file)
--- 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;