diff options
| author | 2020-02-27 15:29:15 -0800 | |
|---|---|---|
| committer | 2020-02-28 12:43:03 +0200 | |
| commit | 08ec5020bd6cf0102ec92c00ed149d8b76ace5ee (patch) | |
| tree | 24bcbb6dbb1e524eb714d3e6250fbedae89fad5e /include/uapi/linux/can/git:/ssh:/git@git.zx2c4.com | |
| parent | platform/x86: intel_pmc_core: Relocate pmc_core_*_display() to outside of CONFIG_DEBUG_FS (diff) | |
platform/x86: intel_pmc_core: Remove duplicate 'if' to create debugfs entry
A debugfs entry for substate_live_status_registers is created only if
the platform has sub-states, which requires the same condition to create
substate_status_registers debugfs entry. Hence remove the redundant
condition and re-use the existing one.
Cc: Chen Zhou <chenzhou10@huawei.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: David E. Box <david.e.box@intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/uapi/linux/can/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
