platform/x86: amd-pmc: Output error codes in messages
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 17 Mar 2022 14:14:44 +0000 (09:14 -0500)
committerHans de Goede <hdegoede@redhat.com>
Thu, 17 Mar 2022 18:47:24 +0000 (19:47 +0100)
commit23f5f7007ab3eafdb764e25527d8267783deb358
tree7e11180158734125558af41ea8435332b728a1c8
parentb1f66033cd4e9ce8cbe2c74c98d4e04c0b2d7b40
platform/x86: amd-pmc: Output error codes in messages

The return type for the s2idle callbacks is 'void', so any errors that
occur will no longer be displayed.

Output these error codes in the messages in case of any failures.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20220317141445.6498-3-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd-pmc.c