From: Rusty Russell Date: Thu, 12 Aug 2010 05:04:39 +0000 (-0600) Subject: param: use module_param in drivers/message/fusion/mptbase.c X-Git-Tag: upstream/snapshot3+hdmi~13273^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57ba4717f2fe3ed441f3225dd9e05f6a0419fb6c;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git param: use module_param in drivers/message/fusion/mptbase.c No need to open code this! Signed-off-by: Rusty Russell Reviewed-by: Takashi Iwai --- diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index b88a244..d8c668d 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c @@ -109,8 +109,7 @@ MODULE_PARM_DESC(mpt_debug_level, " debug level - refer to mptdebug.h \ int mpt_fwfault_debug; EXPORT_SYMBOL(mpt_fwfault_debug); -module_param_call(mpt_fwfault_debug, param_set_int, param_get_int, - &mpt_fwfault_debug, 0600); +module_param(mpt_fwfault_debug, int, 0600); MODULE_PARM_DESC(mpt_fwfault_debug, "Enable detection of Firmware fault" " and halt Firmware on fault - (default=0)");