diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-04-10 21:35:12 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-04-11 10:41:53 +0200 |
commit | 5b309e80f457ebb41770e0122766825a78cfc11b (patch) | |
tree | b0ae20d4fa8e5dea3dd8670e6fa1a2335fcb7071 /drivers/platform | |
parent | 336ba968d3e30038c13b03a71f5a672db6c9e303 (diff) | |
download | linux-5b309e80f457ebb41770e0122766825a78cfc11b.tar.gz linux-5b309e80f457ebb41770e0122766825a78cfc11b.tar.bz2 linux-5b309e80f457ebb41770e0122766825a78cfc11b.zip |
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
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/amd/pmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/amd/pmc.c b/drivers/platform/x86/amd/pmc.c index b921d37ed706..877b629e5cae 100644 --- a/drivers/platform/x86/amd/pmc.c +++ b/drivers/platform/x86/amd/pmc.c @@ -859,7 +859,7 @@ static struct acpi_s2idle_dev_ops amd_pmc_s2idle_dev_ops = { .restore = amd_pmc_s2idle_restore, }; -static int __maybe_unused amd_pmc_suspend_handler(struct device *dev) +static int amd_pmc_suspend_handler(struct device *dev) { struct amd_pmc_dev *pdev = dev_get_drvdata(dev); |