From: Rusty Russell Date: Thu, 12 Aug 2010 05:04:37 +0000 (-0600) Subject: param: update drivers/char/ipmi/ipmi_watchdog.c to new scheme X-Git-Tag: v2.6.36-rc1~57^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8ba6c52e19c13c2b6fb9ca9e5188799c753914c;p=pandora-kernel.git param: update drivers/char/ipmi/ipmi_watchdog.c to new scheme This is one of the most interesting users of module parameters in the tree, so weaning it off the old-style non-const module_param_call scheme is a useful exercise. I was confused by set_param_int/get_param_int (vs. the normal param_set_int and param_get_int), so I renamed set_param_int to set_param_timeout, and re-used param_get_int directly instead of get_param_int. I also implemented param_check_wdog_ifnum and param_check_timeout, so now the ifnum_to_use and timeout/pretimeout parameters can just use plain module_param(). Signed-off-by: Rusty Russell Cc: Corey Minyard Cc: openipmi-developer@lists.sourceforge.net --- Reading git-diff-tree failed