platform/x86/amd/pmf: Return a status code only as a constant in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 28 Dec 2023 09:48:16 +0000 (10:48 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 2 Jan 2024 12:32:22 +0000 (13:32 +0100)
commit4527898e300ce65e9ac5d5a05e086a07e212753c
tree8af01fabf6f1781adc0c5829b5681fa0e298cf8a
parent9dd3f1ef40d01fdfe69c3ada28b1f201a7207f6e
platform/x86/amd/pmf: Return a status code only as a constant in two functions

Return a status code without storing it in an intermediate variable.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: https://lore.kernel.org/r/0d0c4876-37d7-4bee-912e-56324495454f@web.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/pmf/acpi.c