wl12xx: change debug_level module param sysfs permissions
changed the visibility of the debug_level module parameter in the filesystem to be readable and writable to the root user. It is now accessible under /sys/module/wl12xx/parameters removed the debug_level debugfs file that was created under /sys/kernel/debug/... Signed-off-by: Guy Eilam <guy@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
This commit is contained in:
committed by
Luciano Coelho
parent
2d6e4e76d1
commit
491bbd6bdd
@@ -402,11 +402,6 @@ static int wl1271_debugfs_add_files(struct wl1271 *wl,
|
||||
|
||||
DEBUGFS_ADD(gpio_power, rootdir);
|
||||
|
||||
entry = debugfs_create_x32("debug_level", 0600, rootdir,
|
||||
&wl12xx_debug_level);
|
||||
if (!entry || IS_ERR(entry))
|
||||
goto err;
|
||||
|
||||
return 0;
|
||||
|
||||
err:
|
||||
|
Reference in New Issue
Block a user