Commit 86cc9445 authored by Henrique de Moraes Holschuh's avatar Henrique de Moraes Holschuh Committed by Len Brown

ACPI: thinkpad_acpi: use bool for boolean parameters

Some of the module parameters are boolean in nature.  Make it so in fact.
Signed-off-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 996fba08
...@@ -4444,10 +4444,10 @@ static u32 dbg_level; ...@@ -4444,10 +4444,10 @@ static u32 dbg_level;
module_param_named(debug, dbg_level, uint, 0); module_param_named(debug, dbg_level, uint, 0);
static int force_load; static int force_load;
module_param(force_load, int, 0); module_param(force_load, bool, 0);
static int fan_control_allowed; static int fan_control_allowed;
module_param_named(fan_control, fan_control_allowed, int, 0); module_param_named(fan_control, fan_control_allowed, bool, 0);
#define IBM_PARAM(feature) \ #define IBM_PARAM(feature) \
module_param_call(feature, set_ibm_param, NULL, NULL, 0) module_param_call(feature, set_ibm_param, NULL, NULL, 0)
......
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