aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorShyam Sundar S K <[email protected]>2024-11-04 05:48:27 +0000
committerIlpo Järvinen <[email protected]>2024-11-04 13:13:04 +0000
commitcc8e2dbf99d2c5844ac06fa392675e994e5ed519 (patch)
tree8d01b4eb7a35d5a9fd8f876ec96962a1a6a188da /drivers/platform/x86/intel/pmt/class.c
parentplatform/x86/intel/vsec: Remove a useless mutex (diff)
downloadkernel-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