diff options
| author | Shyam Sundar S K <[email protected]> | 2024-11-04 05:48:27 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2024-11-04 13:13:04 +0000 |
| commit | cc8e2dbf99d2c5844ac06fa392675e994e5ed519 (patch) | |
| tree | 8d01b4eb7a35d5a9fd8f876ec96962a1a6a188da /drivers/platform/x86/intel/pmt/class.c | |
| parent | platform/x86/intel/vsec: Remove a useless mutex (diff) | |
| download | kernel-cc8e2dbf99d2c5844ac06fa392675e994e5ed519.tar.gz kernel-cc8e2dbf99d2c5844ac06fa392675e994e5ed519.zip | |
platform/x86/amd/pmf: Use dev_err_probe() to simplify error handling
To simplify error handling in the amd_pmf probe function and reduce code
size, dev_err() is replaced with dev_err_probe().
Reviewed-by: Mario Limonciello <[email protected]>
Co-developed-by: Patil Rajesh Reddy <[email protected]>
Signed-off-by: Patil Rajesh Reddy <[email protected]>
Signed-off-by: Shyam Sundar S K <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
