clk: clk-debug: Update file permission for clk_measure debugfs

The current file permission for clk_measure is incorrect, so update it to
reflect the correct read-only permission.

Change-Id: I9d4dd7e1cc3eb4ea3d8c7c9c65cfd9fef3023ab4
Signed-off-by: Taniya Das <tdas@codeaurora.org>
This commit is contained in:
Taniya Das 2018-03-06 10:02:16 +05:30 • committed by David Collins
commit b50d0d524c

View file

@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2016, The Linux Foundation. All rights reserved. */
/* Copyright (c) 2016, 2019, The Linux Foundation. All rights reserved. */
#include <linux/clk.h>
#include <linux/export.h>
@ -270,7 +270,7 @@ void clk_debug_measure_add(struct clk_hw *hw, struct dentry *dentry)
return;
}
debugfs_create_file("clk_measure", 0x444, dentry, hw,
debugfs_create_file("clk_measure", 0444, dentry, hw,
&clk_measure_fops);
}
EXPORT_SYMBOL(clk_debug_measure_add);