diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-02-07 23:07:30 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-08 21:04:32 -0800 |
commit | 946df10db670bb5b4af41f42f914662d03308f09 (patch) | |
tree | d5fb67450ea9d9464a5563969e48db7dc4b4f9a5 /drivers/ptp/ptp_pch.c | |
parent | 874f50c82e140947dfb8913687fd8935ae486d01 (diff) | |
download | linux-946df10db670bb5b4af41f42f914662d03308f09.tar.gz linux-946df10db670bb5b4af41f42f914662d03308f09.tar.bz2 linux-946df10db670bb5b4af41f42f914662d03308f09.zip |
ptp_pch: Remove unused pch_pm_ops
The default values for hooks in the driver.pm are NULLs.
Hence drop unused pch_pm_ops.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220207210730.75252-6-andriy.shevchenko@linux.intel.com
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/ptp/ptp_pch.c')
-rw-r--r-- | drivers/ptp/ptp_pch.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ptp/ptp_pch.c b/drivers/ptp/ptp_pch.c index 0d2ffcca608c..7d4da9e605ef 100644 --- a/drivers/ptp/ptp_pch.c +++ b/drivers/ptp/ptp_pch.c @@ -447,9 +447,6 @@ static const struct ptp_clock_info ptp_pch_caps = { .enable = ptp_pch_enable, }; -#define pch_suspend NULL -#define pch_resume NULL - static void pch_remove(struct pci_dev *pdev) { struct pch_dev *chip = pci_get_drvdata(pdev); @@ -540,14 +537,11 @@ static const struct pci_device_id pch_ieee1588_pcidev_id[] = { }; MODULE_DEVICE_TABLE(pci, pch_ieee1588_pcidev_id); -static SIMPLE_DEV_PM_OPS(pch_pm_ops, pch_suspend, pch_resume); - static struct pci_driver pch_driver = { .name = KBUILD_MODNAME, .id_table = pch_ieee1588_pcidev_id, .probe = pch_probe, .remove = pch_remove, - .driver.pm = &pch_pm_ops, }; module_pci_driver(pch_driver); |