On Fri, Sep 22, 2017 at 05:13:35PM +0530, Allen Pais wrote: > Use setup_timer function instead of initializing timer with the > function and data fields. > > Signed-off-by: Allen Pais Thanks, applied for 4.15. Cheers James > --- > arch/mips/lasat/picvue_proc.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/mips/lasat/picvue_proc.c b/arch/mips/lasat/picvue_proc.c > index dd292dc..a8103f6 100644 > --- a/arch/mips/lasat/picvue_proc.c > +++ b/arch/mips/lasat/picvue_proc.c > @@ -197,8 +197,7 @@ static int __init pvc_proc_init(void) > if (proc_entry == NULL) > goto error; > > - init_timer(&timer); > - timer.function = pvc_proc_timerfunc; > + setup_timer(&timer, pvc_proc_timerfunc, 0UL); > > return 0; > error: