Skip to content

Commit 5b309e8

Browse files
committed
platform/x86: amd: pmc: Remove __maybe_unused from amd_pmc_suspend_handler()
Now that the pmc code has switched to DEFINE_SIMPLE_DEV_PM_OPS() the __maybe_unused is no longer necessary, drop it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20230410193512.64232-1-hdegoede@redhat.com
1 parent 336ba96 commit 5b309e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/platform/x86/amd

drivers/platform/x86/amd/pmc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ static struct acpi_s2idle_dev_ops amd_pmc_s2idle_dev_ops = {
859859
.restore = amd_pmc_s2idle_restore,
860860
};
861861

862-
static int __maybe_unused amd_pmc_suspend_handler(struct device *dev)
862+
static int amd_pmc_suspend_handler(struct device *dev)
863863
{
864864
struct amd_pmc_dev *pdev = dev_get_drvdata(dev);
865865

0 commit comments

Comments
 (0)