Unverified Commit acf1b04c authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Ilpo Järvinen
Browse files

platform/x86: intel_scu_ipc: Convert to check for errors first



Convert to use usual pattern, i.e. check for errors first. This makes
code less indented and easier to read after all.

Tested-by: default avatarFerry Toth <fntoth@gmail.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241021133705.2933464-5-andriy.shevchenko@linux.intel.com


Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
parent ce44b962
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment