mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 19:45:06 +08:00
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>
This commit is contained in:
parent
a4415e7614
commit
ace91838ef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user