Skip to contentSkip to conversation

mmc: struct device - replace bus_id with dev_name(), dev_set_name()

PATCH Applied Kay Sievers 2 participants 2 messages Jan 25, 2009 – Feb 2, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

From: Kay Sievers <[email protected]>
Subject: mmc: struct device - replace bus_id with dev_name(), dev_set_name()

---
 drivers/mmc/host/atmel-mci.c  |    2 +-
 drivers/mmc/host/of_mmc_spi.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/mmc/host/atmel-mci.c +1 -1
@@ -1602,7 +1602,7 @@ static int __init atmci_probe(struct pla
 
 	tasklet_init(&host->tasklet, atmci_tasklet_func, (unsigned long)host);
 
-	ret = request_irq(irq, atmci_interrupt, 0, pdev->dev.bus_id, host);
+	ret = request_irq(irq, atmci_interrupt, 0, dev_name(&pdev->dev), host);
 	if (ret)
 		goto err_request_irq;
 
drivers/mmc/host/of_mmc_spi.c +1 -1
@@ -103,7 +103,7 @@ struct mmc_spi_platform_data *mmc_spi_ge
 		if (!gpio_is_valid(oms->gpios[i]))
 			continue;
 
-		ret = gpio_request(oms->gpios[i], dev->bus_id);
+		ret = gpio_request(oms->gpios[i], dev_name(dev));
 		if (ret < 0) {
 			oms->gpios[i] = -EINVAL;
 			continue;
#1 lore raw
Quoted 7 lines · On Sun, 25 Jan 2009 23:50:42 +0100 Kay Sievers <[email protected]> wrote:

From: Kay Sievers <[email protected]>
Subject: mmc: struct device - replace bus_id with dev_name(), dev_set_name()

---

Applied, thanks.

Rgds

Signature · 9 lines
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  rdesktop, core developer          http://www.rdesktop.org

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.