diff options
-rw-r--r-- | drivers/hwmon/asus_atk0110.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/hwmon/asus_atk0110.c b/drivers/hwmon/asus_atk0110.c index a7cf00885c5d..a5638d1f7e4b 100644 --- a/drivers/hwmon/asus_atk0110.c +++ b/drivers/hwmon/asus_atk0110.c | |||
@@ -799,17 +799,17 @@ static void atk_debugfs_init(struct atk_data *data) | |||
799 | if (!d || IS_ERR(d)) | 799 | if (!d || IS_ERR(d)) |
800 | return; | 800 | return; |
801 | 801 | ||
802 | f = debugfs_create_x32("id", S_IRUSR | S_IWUSR, d, &data->debugfs.id); | 802 | f = debugfs_create_x32("id", 0600, d, &data->debugfs.id); |
803 | if (!f || IS_ERR(f)) | 803 | if (!f || IS_ERR(f)) |
804 | goto cleanup; | 804 | goto cleanup; |
805 | 805 | ||
806 | f = debugfs_create_file("gitm", S_IRUSR, d, data, | 806 | f = debugfs_create_file("gitm", 0400, d, data, |
807 | &atk_debugfs_gitm); | 807 | &atk_debugfs_gitm); |
808 | if (!f || IS_ERR(f)) | 808 | if (!f || IS_ERR(f)) |
809 | goto cleanup; | 809 | goto cleanup; |
810 | 810 | ||
811 | f = debugfs_create_file("ggrp", S_IRUSR, d, data, | 811 | f = debugfs_create_file("ggrp", 0400, d, data, |
812 | &atk_debugfs_ggrp_fops); | 812 | &atk_debugfs_ggrp_fops); |
813 | if (!f || IS_ERR(f)) | 813 | if (!f || IS_ERR(f)) |
814 | goto cleanup; | 814 | goto cleanup; |
815 | 815 | ||