Commit 633fe795 authored by Randy Dunlap's avatar Randy Dunlap Committed by Ingo Molnar

timers: add missing kernel-doc

Add missing kernel-doc parameter notation and change function
name to its new name:

  Warning(kernel/timer.c:543): No description found for parameter 'name'
  Warning(kernel/timer.c:543): No description found for parameter 'key'
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: akpm <akpm@linux-foundation.org>
Cc: Johannes Berg <johannes@sipsolutions.net>
LKML-Reference: <20090401174723.f0bea0eb.randy.dunlap@oracle.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 7c526e1f
...@@ -524,10 +524,13 @@ static void __init_timer(struct timer_list *timer) ...@@ -524,10 +524,13 @@ static void __init_timer(struct timer_list *timer)
} }
/** /**
* init_timer - initialize a timer. * init_timer_key - initialize a timer
* @timer: the timer to be initialized * @timer: the timer to be initialized
* @name: name of the timer
* @key: lockdep class key of the fake lock used for tracking timer
* sync lock dependencies
* *
* init_timer() must be done to a timer prior calling *any* of the * init_timer_key() must be done to a timer prior calling *any* of the
* other timer functions. * other timer functions.
*/ */
void init_timer(struct timer_list *timer) void init_timer(struct timer_list *timer)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment