forked from Minki/linux
power: supply: sbs-battery: use octal permissions on module param
Symbolic permissions 'S_IRUSR | S_IRGRP | S_IROTH' are not preferred. Use octal permissions '0444'. Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
463881ac40
commit
75d8a8423c
@ -1001,6 +1001,6 @@ module_i2c_driver(sbs_battery_driver);
|
||||
MODULE_DESCRIPTION("SBS battery monitor driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
module_param(force_load, bool, S_IRUSR | S_IRGRP | S_IROTH);
|
||||
module_param(force_load, bool, 0444);
|
||||
MODULE_PARM_DESC(force_load,
|
||||
"Attempt to load the driver even if no battery is connected");
|
||||
|
Loading…
Reference in New Issue
Block a user