diff options
| author | 2026-10-13 12:29:35 -0700 | |
|---|---|---|
| committer | 2026-10-15 16:53:56 +0300 | |
| commit | 68691508ea41899fb98098148225694f402f3861 (patch) | |
| tree | 560e119dbca0765ceaf2f446fb67e033069e1c72 /scripts/Makefile.thinlto | |
| parent | platform/x86/intel/tpmi: Declare the loop counters in their loops (diff) | |
platform/x86/intel/tpmi: Describe the device creation policy on the function
The comment explaining the error policy of tpmi_create_devices() sits
inside the loop, between the call and the check it describes. Move it
above the function, where it describes the policy as a whole.
Also split the check into its two cases, skipping unsupported features
and failing on any other error, so that each reads on its own.
No functional change intended.
Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Suggested-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://patch.msgid.link/20261013192935.2243291-21-sathyanarayanan.kuppuswamy@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
