summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2005-03-31 04:23:19 +0200
committerLen Brown2005-07-12 05:56:26 +0200
commitf165b10f4a9aac7fee9b11a125de20a1712be128 (patch)
treeb2646fbb604a74d608156b79e94238fc0d085772 /drivers/pci
parent[ACPI] PNPACPI parse error (diff)
downloadkernel-qcow2-linux-f165b10f4a9aac7fee9b11a125de20a1712be128.tar.gz
kernel-qcow2-linux-f165b10f4a9aac7fee9b11a125de20a1712be128.tar.xz
kernel-qcow2-linux-f165b10f4a9aac7fee9b11a125de20a1712be128.zip
cleanup: remove unnecessary initializer on static pointers
Suggested-by: Greg KH <greg@kroah.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index a1c66e8ea5f2..bdfca32b44a1 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -235,7 +235,7 @@ pci_find_parent_resource(const struct pci_dev *dev, struct resource *res)
* -EIO if device does not support PCI PM.
* 0 if we can successfully change the power state.
*/
-int (*platform_pci_set_power_state)(struct pci_dev *dev, pci_power_t t) = NULL;
+int (*platform_pci_set_power_state)(struct pci_dev *dev, pci_power_t t);
int
pci_set_power_state(struct pci_dev *dev, pci_power_t state)
{
@@ -311,7 +311,7 @@ pci_set_power_state(struct pci_dev *dev, pci_power_t state)
return 0;
}
-int (*platform_pci_choose_state)(struct pci_dev *dev, pm_message_t state) = NULL;
+int (*platform_pci_choose_state)(struct pci_dev *dev, pm_message_t state);
/**
* pci_choose_state - Choose the power state of a PCI device