diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-03-13 11:57:39 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-06-22 14:54:56 +0300 |
commit | 6cc8823ad3e85207dfb4c93f31dcdb05297d1b42 (patch) | |
tree | 2de5dd6ebfe29104310ee3c342e253797fad12f2 /drivers/memory/tegra/tegra20-emc.c | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) | |
download | linux-6cc8823ad3e85207dfb4c93f31dcdb05297d1b42.tar.xz |
memory: tegra: Make debugfs permissions human-readable
Replace the symbolic permissions with octals in order to make them
readable.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/memory/tegra/tegra20-emc.c')
-rw-r--r-- | drivers/memory/tegra/tegra20-emc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/memory/tegra/tegra20-emc.c b/drivers/memory/tegra/tegra20-emc.c index b16715e9515d..f74dd417c874 100644 --- a/drivers/memory/tegra/tegra20-emc.c +++ b/drivers/memory/tegra/tegra20-emc.c @@ -647,11 +647,11 @@ static void tegra_emc_debugfs_init(struct tegra_emc *emc) return; } - debugfs_create_file("available_rates", S_IRUGO, emc->debugfs.root, + debugfs_create_file("available_rates", 0444, emc->debugfs.root, emc, &tegra_emc_debug_available_rates_fops); - debugfs_create_file("min_rate", S_IRUGO | S_IWUSR, emc->debugfs.root, + debugfs_create_file("min_rate", 0644, emc->debugfs.root, emc, &tegra_emc_debug_min_rate_fops); - debugfs_create_file("max_rate", S_IRUGO | S_IWUSR, emc->debugfs.root, + debugfs_create_file("max_rate", 0644, emc->debugfs.root, emc, &tegra_emc_debug_max_rate_fops); } |