Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753877AbbB0BhR (ORCPT ); Thu, 26 Feb 2015 20:37:17 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:33332 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753077AbbB0BhP (ORCPT ); Thu, 26 Feb 2015 20:37:15 -0500 Date: Thu, 26 Feb 2015 17:37:14 -0800 From: Greg KH To: Vaishali Thakkar Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: comedi: Use setup_timer Message-ID: <20150227013714.GA11059@kroah.com> References: <20150208065553.GA4259@vaishali-Ideapad-Z570> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150208065553.GA4259@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 Content-Length: 867 Lines: 27 On Sun, Feb 08, 2015 at 12:25:53PM +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/comedi/drivers/comedi_test.c | 5 ++--- > drivers/staging/comedi/drivers/das16.c | 5 ++--- > 2 files changed, 4 insertions(+), 6 deletions(-) Sorry, someone else already sent me this patch before you did :( -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/