]> git.karo-electronics.de Git - karo-tx-linux.git/commit
platform/x86: thinkpad_acpi: Add a comment about 0 in module_param_call()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 9 May 2017 14:17:21 +0000 (17:17 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 15 May 2017 09:07:40 +0000 (12:07 +0300)
commit9b4bbbd2aebb2630c587faae911463198172a7e0
treeb421c4728fe5e9457369392315f7fbd6f091d549
parent5cac62ac92689e361ef6b83c1984e3fdf76b6766
platform/x86: thinkpad_acpi: Add a comment about 0 in module_param_call()

As per discussion [1] there are only few users of module_param_call() in
kernel which prevent to read module parameters back.

It thinkpad_acpi driver there is even no method do so. Thus, for now,
add just a comment to explain why 0 is used as permissions in
module_param_call().

[1]: https://patchwork.ozlabs.org/patch/713245/

Cc: Richard Weinberger <richard.weinberger@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
drivers/platform/x86/thinkpad_acpi.c