platform/x86: intel_pmc_core: Fix file permission warnings
authorRajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Thu, 11 Jan 2018 11:10:35 +0000 (16:40 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 16 Jan 2018 15:24:15 +0000 (17:24 +0200)
commit1f644da7e920cb83403818efa88ebfb6d1528264
treef847df630f2decf45cf1d156af4e59df36b9c2b9
parent2854a0aa822c11ea8538ebfe94a62e20ab570e2b
platform/x86: intel_pmc_core: Fix file permission warnings

Symbolic permissions 'S_IRUGO' are not preferred. This patch changes the
debugfs files to use octal permissions '0644' or '0444' as needed by the
attribute.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_core.c