mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-02 10:45:10 -05:00
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:
committed by
Sebastian Reichel
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");
|
||||
|
||||
Reference in New Issue
Block a user