platform/x86/amd: pmc: Pass true/false to bool argument
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Thu, 25 May 2023 14:19:26 +0000 (19:49 +0530)
committerHans de Goede <hdegoede@redhat.com>
Tue, 30 May 2023 09:08:10 +0000 (11:08 +0200)
commita0d61b070d90f16b5f842d5b4f027e5e6b35a32a
treec1d0c2da8b8d7e38e131a95892219f20d2dfa9a3
parente34cd89a6af7f6504ae477902e358df234b88d30
platform/x86/amd: pmc: Pass true/false to bool argument

Pass true/false to the bool argument of the amd_pmc_send_cmd() function,
instead of 1/0 to match the function signature.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Co-developed-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20230525141929.866385-2-Shyam-sundar.S-k@amd.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/pmc.c