Skip to content

Commit

Permalink
mmc: struct device - replace bus_id with dev_name(), dev_set_name()
Browse files Browse the repository at this point in the history
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
  • Loading branch information
Kay Sievers authored and Pierre Ossman committed Mar 24, 2009
1 parent 8e0ee43 commit 89c8aa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/mmc/host/atmel-mci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@ static int __init atmci_probe(struct platform_device *pdev)

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;

Expand Down
2 changes: 1 addition & 1 deletion drivers/mmc/host/of_mmc_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi)
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;
Expand Down

0 comments on commit 89c8aa2

Please sign in to comment.