]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_pmc_core: Refactor debugfs entries
authorRajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Fri, 19 Jan 2018 08:58:20 +0000 (14:28 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Jan 2018 18:44:15 +0000 (20:44 +0200)
commit4b7b22e06b6da931a845dc89ac5df5e1c7182653
tree1bbeeb6219b68fc16f446038cfd40e95b592ec22
parent020432cee6511b901f2f80912b500e9a6b4175aa
platform/x86: intel_pmc_core: Refactor debugfs entries

When on a platform if we can't show MPHY and PLL status, don't even bother
to create a debugfs entry as it will fail anyway. In fact unless OEM builds
a special BIOS for test, it will fail on every production system.

This will help to add future platform support where we can't support these
entries.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
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