From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756274AbbCGK72 (ORCPT ); Sat, 7 Mar 2015 05:59:28 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44432 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751812AbbCGK7X (ORCPT ); Sat, 7 Mar 2015 05:59:23 -0500 Date: Fri, 6 Mar 2015 16:12:17 -0800 From: Greg Kroah-Hartman To: Vaishali Thakkar Cc: Lidza Louina , Mark Hounschell , Daeseok Youn , linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: dgnc: Use setup_timer Message-ID: <20150307001217.GA5869@kroah.com> References: <20150208071440.GA5233@vaishali-Ideapad-Z570> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150208071440.GA5233@vaishali-Ideapad-Z570> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 08, 2015 at 12:44:40PM +0530, Vaishali Thakkar wrote: > This patch introduces the use of function setup_timer. > > This is done using Coccinelle and semantic patch used is > as follows: > > @@ > expression x,y,z; > @@ > > - init_timer (&x); > + setup_timer (&x, y, z); > - x.function = y; > - x.data = z; > > Signed-off-by: Vaishali Thakkar > --- > drivers/staging/dgnc/dgnc_driver.c | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) This is already in my tree :(