staging: wilc1000: remove WILC_TimerCreate()
[firefly-linux-kernel-4.4.55.git] / drivers / staging / wilc1000 / wilc_timer.c
1
2 #include "wilc_timer.h"
3
4 WILC_ErrNo WILC_TimerStart(struct timer_list *pHandle, u32 u32Timeout,
5         void *pvArg)
6 {
7         WILC_ErrNo s32RetStatus = WILC_FAIL;
8         if (pHandle != NULL) {
9                 pHandle->data = (unsigned long)pvArg;
10                 s32RetStatus = mod_timer(pHandle, (jiffies + msecs_to_jiffies(u32Timeout)));
11         }
12         return s32RetStatus;
13 }