]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: etm4x: use module_param instead of module_param_named
authorAndrew Murray <andrew.murray@arm.com>
Thu, 29 Aug 2019 20:28:36 +0000 (14:28 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2019 20:01:17 +0000 (22:01 +0200)
commit87260cdad8c45d32d2c318e5108bbe6932f7039a
tree7a37f8d91c9b74f17b16a86421798566d34f5368
parent4955d65dc63ee3d4456b12d247c5e08727cebf64
coresight: etm4x: use module_param instead of module_param_named

Given that the user-exposed module parameter for 'boot_enable' matches
the variable that it sets, let's use module_param instead of
module_param_named.

Let's also use octal permissions (checkpatch recommends this) and
provide a module parameter description.

Signed-off-by: Andrew Murray <andrew.murray@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20190829202842.580-12-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etm4x.c