mirror of https://gitee.com/openkylin/linux.git
PCI: fix typos pci_device_dis/enable to pci_dis/enable_device in comments
This fixes all occurrences of pci_enable_device and pci_disable_device in all comments. There are no code changes involved. Signed-off-by: Roman Fietze <roman.fietze@telemotive.de> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
9313ff4504
commit
ee6583f6e8
|
@ -294,7 +294,7 @@ static int __devinit amd76x_init_one(struct pci_dev *pdev,
|
||||||
{
|
{
|
||||||
debugf0("%s()\n", __func__);
|
debugf0("%s()\n", __func__);
|
||||||
|
|
||||||
/* don't need to call pci_device_enable() */
|
/* don't need to call pci_enable_device() */
|
||||||
return amd76x_probe1(pdev, ent->driver_data);
|
return amd76x_probe1(pdev, ent->driver_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -354,7 +354,7 @@ static int __devinit i82443bxgx_edacmc_init_one(struct pci_dev *pdev,
|
||||||
|
|
||||||
debugf0("MC: " __FILE__ ": %s()\n", __func__);
|
debugf0("MC: " __FILE__ ": %s()\n", __func__);
|
||||||
|
|
||||||
/* don't need to call pci_device_enable() */
|
/* don't need to call pci_enable_device() */
|
||||||
rc = i82443bxgx_edacmc_probe1(pdev, ent->driver_data);
|
rc = i82443bxgx_edacmc_probe1(pdev, ent->driver_data);
|
||||||
|
|
||||||
if (mci_pdev == NULL)
|
if (mci_pdev == NULL)
|
||||||
|
|
|
@ -354,7 +354,7 @@ static int __devinit r82600_init_one(struct pci_dev *pdev,
|
||||||
{
|
{
|
||||||
debugf0("%s()\n", __func__);
|
debugf0("%s()\n", __func__);
|
||||||
|
|
||||||
/* don't need to call pci_device_enable() */
|
/* don't need to call pci_enable_device() */
|
||||||
return r82600_probe1(pdev, ent->driver_data);
|
return r82600_probe1(pdev, ent->driver_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1193,7 +1193,7 @@ void pci_disable_enabled_device(struct pci_dev *dev)
|
||||||
* anymore. This only involves disabling PCI bus-mastering, if active.
|
* anymore. This only involves disabling PCI bus-mastering, if active.
|
||||||
*
|
*
|
||||||
* Note we don't actually disable the device until all callers of
|
* Note we don't actually disable the device until all callers of
|
||||||
* pci_device_enable() have called pci_device_disable().
|
* pci_enable_device() have called pci_disable_device().
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
pci_disable_device(struct pci_dev *dev)
|
pci_disable_device(struct pci_dev *dev)
|
||||||
|
|
Loading…
Reference in New Issue