public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Driver Core fixes for 2.6.0-test3
Date: Fri, 15 Aug 2003 11:25:48 -0700	[thread overview]
Message-ID: <10609719484044@kroah.com> (raw)
In-Reply-To: <10609719481470@kroah.com>

ChangeSet 1.1152.2.4, 2003/08/14 16:53:55-07:00, greg@kroah.com

Remove usage of struct device.name from pcmcia layer


 drivers/pcmcia/i82365.c       |    3 ---
 drivers/pcmcia/tcic.c         |    3 ---
 drivers/pcmcia/yenta_socket.c |    2 +-
 3 files changed, 1 insertion(+), 7 deletions(-)


diff -Nru a/drivers/pcmcia/i82365.c b/drivers/pcmcia/i82365.c
--- a/drivers/pcmcia/i82365.c	Fri Aug 15 11:16:00 2003
+++ b/drivers/pcmcia/i82365.c	Fri Aug 15 11:16:00 2003
@@ -1361,9 +1361,6 @@
 static struct platform_device i82365_device = {
 	.name = "i82365",
 	.id = 0,
-	.dev = {
-		.name = "i82365",
-	},
 };
 
 static int __init init_i82365(void)
diff -Nru a/drivers/pcmcia/tcic.c b/drivers/pcmcia/tcic.c
--- a/drivers/pcmcia/tcic.c	Fri Aug 15 11:16:00 2003
+++ b/drivers/pcmcia/tcic.c	Fri Aug 15 11:16:00 2003
@@ -372,9 +372,6 @@
 static struct platform_device tcic_device = {
 	.name = "tcic-pcmcia",
 	.id = 0,
-	.dev = {
-		.name = "tcic-pcmcia",
-	},
 };
 
 
diff -Nru a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c
--- a/drivers/pcmcia/yenta_socket.c	Fri Aug 15 11:16:00 2003
+++ b/drivers/pcmcia/yenta_socket.c	Fri Aug 15 11:16:00 2003
@@ -899,7 +899,7 @@
 
 	/* We must finish initialization here */
 
-	if (!socket->cb_irq || request_irq(socket->cb_irq, yenta_interrupt, SA_SHIRQ, socket->dev->dev.name, socket)) {
+	if (!socket->cb_irq || request_irq(socket->cb_irq, yenta_interrupt, SA_SHIRQ, pci_name(socket->dev), socket)) {
 		/* No IRQ or request_irq failed. Poll */
 		socket->cb_irq = 0; /* But zero is a valid IRQ number. */
 		init_timer(&socket->poll_timer);


  reply	other threads:[~2003-08-15 19:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-15 18:25 [BK PATCH] Driver Core fixes for 2.6.0-test3 Greg KH
2003-08-15 18:25 ` [PATCH] " Greg KH
2003-08-15 18:25   ` Greg KH
2003-08-15 18:25     ` Greg KH
2003-08-15 18:25       ` Greg KH [this message]
2003-08-15 18:25         ` Greg KH
2003-08-15 18:25           ` Greg KH
2003-08-15 18:25             ` Greg KH
     [not found] ` <20030815215459.Y639@nightmaster.csn.tu-chemnitz.de>
2003-08-16  3:28   ` [BK PATCH] " Greg KH
2003-08-16 11:09     ` Ingo Oeser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10609719484044@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox