From: Matt Carlson Date: Wed, 22 Feb 2012 12:35:21 +0000 (+0000) Subject: tg3: Create timer helper functions X-Git-Tag: v3.4-rc1~177^2~222 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21f7638e6f05c36b35a36cd4311e08be5dc00bb1;p=pandora-kernel.git tg3: Create timer helper functions This patch seeks to clean up the timer related code. It begins by moving one-time timer setup code from tg3_open() to tg3_init_one(). It then creates a function that encapsulates the code needed to start the timer. A tg3_timer_stop() function was added for parity. Finally, this patch moves all the timer functions to a more suitable location. Signed-off-by: Matt Carlson Signed-off-by: David S. Miller --- Reading git-diff-tree failed