diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-06-27 17:19:22 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-01 07:31:13 -0400 |
commit | 818e14860615634646e1fe176d49e4357a4e1534 (patch) | |
tree | f77e1297947d7547b4902df2b22468985e76832c /drivers/platform | |
parent | 4959a781bc1bbd0d06092caa94e33fd41033a38d (diff) |
intel_ips: Remove empty legacy PM callbacks
The legacy PM callbacks provided by the Intel IPS driver are
empty routines returning 0, so they can be safely dropped.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/intel_ips.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index 0ffdb3cde2bb..bd89f3c8e76e 100644 --- a/drivers/platform/x86/intel_ips.c +++ b/drivers/platform/x86/intel_ips.c | |||
@@ -1697,21 +1697,6 @@ static void ips_remove(struct pci_dev *dev) | |||
1697 | dev_dbg(&dev->dev, "IPS driver removed\n"); | 1697 | dev_dbg(&dev->dev, "IPS driver removed\n"); |
1698 | } | 1698 | } |
1699 | 1699 | ||
1700 | #ifdef CONFIG_PM | ||
1701 | static int ips_suspend(struct pci_dev *dev, pm_message_t state) | ||
1702 | { | ||
1703 | return 0; | ||
1704 | } | ||
1705 | |||
1706 | static int ips_resume(struct pci_dev *dev) | ||
1707 | { | ||
1708 | return 0; | ||
1709 | } | ||
1710 | #else | ||
1711 | #define ips_suspend NULL | ||
1712 | #define ips_resume NULL | ||
1713 | #endif /* CONFIG_PM */ | ||
1714 | |||
1715 | static void ips_shutdown(struct pci_dev *dev) | 1700 | static void ips_shutdown(struct pci_dev *dev) |
1716 | { | 1701 | { |
1717 | } | 1702 | } |
@@ -1721,8 +1706,6 @@ static struct pci_driver ips_pci_driver = { | |||
1721 | .id_table = ips_id_table, | 1706 | .id_table = ips_id_table, |
1722 | .probe = ips_probe, | 1707 | .probe = ips_probe, |
1723 | .remove = ips_remove, | 1708 | .remove = ips_remove, |
1724 | .suspend = ips_suspend, | ||
1725 | .resume = ips_resume, | ||
1726 | .shutdown = ips_shutdown, | 1709 | .shutdown = ips_shutdown, |
1727 | }; | 1710 | }; |
1728 | 1711 | ||