[PATCH v2 2/2] Staging: unisys: visorbus: visorchipset.c: style fix

From: Derek Robson
Date: Sat Jan 07 2017 - 17:08:48 EST


Changed file permissions to octal sytle.
Found using checkpatch.

Acked-by: David Kershner <david.kershner@xxxxxxxxxx>
Signed-off-by: Derek Robson <robsonde@xxxxxxxxx>
---
Version 1 had duplicated subject/commit message, fixed in v2

drivers/staging/unisys/visorbus/visorchipset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index d7148c351d3f..66944e7534e9 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -2277,7 +2277,7 @@ static void exit_unisys(void)
acpi_bus_unregister_driver(&unisys_acpi_driver);
}

-module_param_named(major, visorchipset_major, int, S_IRUGO);
+module_param_named(major, visorchipset_major, int, 0444);
MODULE_PARM_DESC(visorchipset_major,
"major device number to use for the device node");

--
2.11.0