* [KJ] [PATCH 13/18] drivers/telephony/ remove pci_find_{device,
@ 2005-02-14 6:27 Amit Gud
2005-02-14 18:43 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Amit Gud @ 2005-02-14 6:27 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 590 bytes --]
Remove deprecated pci_find_device and pci_find_subsys
Do consider applying.
Signed-off-by: Amit Gud <gud@eth.net>
diff -uprN orig/drivers/telephony/ixj.c linux-2.6.11-rc3/drivers/telephony/ixj.c
--- orig/drivers/telephony/ixj.c 2005-02-11 15:19:54.000000000 +0530
+++ linux-2.6.11-rc3/drivers/telephony/ixj.c 2005-02-14 05:32:27.000000000 +0530
@@ -7751,7 +7751,7 @@ static int __init ixj_probe_pci(int *cnt
IXJ *j = NULL;
for (i = 0; i < IXJMAX - *cnt; i++) {
- pci = pci_find_device(0x15E2, 0x0500, pci);
+ pci = pci_get_device(0x15E2, 0x0500, pci);
if (!pci)
break;
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [KJ] [PATCH 13/18] drivers/telephony/ remove pci_find_{device,
2005-02-14 6:27 [KJ] [PATCH 13/18] drivers/telephony/ remove pci_find_{device, Amit Gud
@ 2005-02-14 18:43 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2005-02-14 18:43 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
On Mon, Feb 14, 2005 at 11:45:18AM +0530, Amit Gud wrote:
> Remove deprecated pci_find_device and pci_find_subsys
>
> Do consider applying.
>
> Signed-off-by: Amit Gud <gud@eth.net>
>
> diff -uprN orig/drivers/telephony/ixj.c linux-2.6.11-rc3/drivers/telephony/ixj.c
> --- orig/drivers/telephony/ixj.c 2005-02-11 15:19:54.000000000 +0530
> +++ linux-2.6.11-rc3/drivers/telephony/ixj.c 2005-02-14 05:32:27.000000000 +0530
> @@ -7751,7 +7751,7 @@ static int __init ixj_probe_pci(int *cnt
> IXJ *j = NULL;
>
> for (i = 0; i < IXJMAX - *cnt; i++) {
> - pci = pci_find_device(0x15E2, 0x0500, pci);
> + pci = pci_get_device(0x15E2, 0x0500, pci);
> if (!pci)
> break;
>
No, incorrect usage, please do not apply.
thanks,
greg k-h
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-14 18:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-14 6:27 [KJ] [PATCH 13/18] drivers/telephony/ remove pci_find_{device, Amit Gud
2005-02-14 18:43 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).