Commit 89c8aa20 authored by Kay Sievers's avatar Kay Sievers Committed by Pierre Ossman

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

Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 8e0ee43b
...@@ -1603,7 +1603,7 @@ static int __init atmci_probe(struct platform_device *pdev) ...@@ -1603,7 +1603,7 @@ static int __init atmci_probe(struct platform_device *pdev)
tasklet_init(&host->tasklet, atmci_tasklet_func, (unsigned long)host); 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) if (ret)
goto err_request_irq; goto err_request_irq;
......
...@@ -103,7 +103,7 @@ struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi) ...@@ -103,7 +103,7 @@ struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi)
if (!gpio_is_valid(oms->gpios[i])) if (!gpio_is_valid(oms->gpios[i]))
continue; continue;
ret = gpio_request(oms->gpios[i], dev->bus_id); ret = gpio_request(oms->gpios[i], dev_name(dev));
if (ret < 0) { if (ret < 0) {
oms->gpios[i] = -EINVAL; oms->gpios[i] = -EINVAL;
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment