]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86:intel/pmc: Use the return value of pmc_core_send_msg
authorXi Pardee <xi.pardee@intel.com>
Mon, 24 Jun 2024 20:32:10 +0000 (13:32 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 8 Jul 2024 07:37:53 +0000 (10:37 +0300)
commit40fdf3f623041eda2a8f825d0ccd4c18f8571ffb
treefc399eb5069fc1ab37893542a4f59201b0f8b713
parent4bf1ea3fc914faef37d8c793b7144d4765ff4a00
platform/x86:intel/pmc: Use the return value of pmc_core_send_msg

Use the return value of pmc_core_send_msg() directly instead of
assigning another code when an error occurs.

Signed-off-by: Xi Pardee <xi.pardee@intel.com>
Link: https://lore.kernel.org/r/20240624203218.2428475-2-xi.pardee@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/pmc/core.c