Skip to content

Commit

Permalink
PCI: PCIe portdrv: remove "-driver" from driver name
Browse files Browse the repository at this point in the history
No need to include "-driver" in the driver name.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
CC: Tom Long Nguyen <tom.l.nguyen@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  • Loading branch information
Bjorn Helgaas authored and jbarnes993 committed Oct 6, 2009
1 parent 0eca52a commit e3fb20f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/pci/pcie/portdrv_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");

/* global data */
static const char device_name[] = "pcieport-driver";

static int pcie_portdrv_restore_config(struct pci_dev *dev)
{
Expand Down Expand Up @@ -262,7 +261,7 @@ static struct pci_error_handlers pcie_portdrv_err_handler = {
};

static struct pci_driver pcie_portdriver = {
.name = (char *)device_name,
.name = "pcieport",
.id_table = &port_pci_ids[0],

.probe = pcie_portdrv_probe,
Expand Down

0 comments on commit e3fb20f

Please sign in to comment.