From patchwork Fri May 14 13:12:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Fietze X-Patchwork-Id: 99608 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4EDJivt013971 for ; Fri, 14 May 2010 13:19:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757682Ab0ENNTo (ORCPT ); Fri, 14 May 2010 09:19:44 -0400 Received: from coyote.quickmin.net ([217.14.112.24]:59792 "EHLO coyote.quickmin.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757494Ab0ENNTn convert rfc822-to-8bit (ORCPT ); Fri, 14 May 2010 09:19:43 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 14 May 2010 13:19:44 +0000 (UTC) X-Greylist: delayed 397 seconds by postgrey-1.27 at vger.kernel.org; Fri, 14 May 2010 09:19:42 EDT Received: (qmail 33072 invoked from network); 14 May 2010 15:13:00 +0200 Received: by simscan 1.4.0 ppid: 33069, pid: 33070, t: 0.0139s scanners: clamav: 0.95.2/m:49/d:8609 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=telemotive.de; b=Oot2Wskmm76P4GFMyIhdEVMKx+8q6nw5qhDUuVXxRSgr//dQEhIur6sb1S2ltHMd4O5NSP9m16d0IkTTgFHY3B/ZjZfuXNv3s2v1BBSYix021StmHFROND8rG40k2eAJNExkl/JYWA02ekRNCBRi6fE7/uDg3iRmU1B4Ridlg+8= ; Received: from mail.telemotive.de (62.206.149.210) by coyote.quickmin.net with SMTP; 14 May 2010 15:13:00 +0200 Received: from alderan.mit.telemotive.de ([192.168.5.15]) by mail.telemotive.de (Lotus Domino Release 8.0.2FP1) with ESMTP id 2010051415125861-1726 ; Fri, 14 May 2010 15:12:58 +0200 Received: from rfietze.mit.telemotive.de (rfietze.mit.telemotive.de [192.168.5.33]) by alderan.mit.telemotive.de (Postfix) with ESMTP id 289BFC57D9 for ; Fri, 14 May 2010 15:12:59 +0200 (CEST) Received: by rfietze.mit.telemotive.de (Postfix, from userid 10062) id F415718230C4; Fri, 14 May 2010 15:12:58 +0200 (CEST) From: Roman Fietze Organization: Telemotive AG To: linux-pci@vger.kernel.org Subject: [PATCH] pci: fix typos pci_device_dis/enable to pci_dis/enable_device in comments User-Agent: KMail/1.13.3 (Linux/2.6.31.12-0.2-default; KDE/4.4.3; x86_64; ; ) MIME-Version: 1.0 Message-ID: <201005141512.58897.roman.fietze@telemotive.de> Date: Fri, 14 May 2010 15:12:58 +0200 X-MIMETrack: Itemize by SMTP Server on muc/Telemotive(Release 8.0.2FP1|January 12, 2009) at 14.05.2010 15:12:58, Serialize by Router on muc/Telemotive(Release 8.0.2FP1|January 12, 2009) at 14.05.2010 15:12:59, Serialize complete at 14.05.2010 15:12:59 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org diff --git a/drivers/edac/amd76x_edac.c b/drivers/edac/amd76x_edac.c index 2b95f1a..eb49bef 100644 --- a/drivers/edac/amd76x_edac.c +++ b/drivers/edac/amd76x_edac.c @@ -295,7 +295,7 @@ static int __devinit amd76x_init_one(struct pci_dev *pdev, { 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); } diff --git a/drivers/edac/i82443bxgx_edac.c b/drivers/edac/i82443bxgx_edac.c index 577760a..905e6af 100644 --- a/drivers/edac/i82443bxgx_edac.c +++ b/drivers/edac/i82443bxgx_edac.c @@ -355,7 +355,7 @@ static int __devinit i82443bxgx_edacmc_init_one(struct pci_dev *pdev, 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); if (mci_pdev == NULL) diff --git a/drivers/edac/r82600_edac.c b/drivers/edac/r82600_edac.c index 9900675..4c5c543 100644 --- a/drivers/edac/r82600_edac.c +++ b/drivers/edac/r82600_edac.c @@ -355,7 +355,7 @@ static int __devinit r82600_init_one(struct pci_dev *pdev, { 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); } diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 315fea4..8cecdfd 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1142,7 +1142,7 @@ void pci_disable_enabled_device(struct pci_dev *dev) * anymore. This only involves disabling PCI bus-mastering, if active. * * 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 pci_disable_device(struct pci_dev *dev)