mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
mmc: struct device - replace bus_id with dev_name(), dev_set_name()
Cc: drzeus-mmc@drzeus.cx Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
This commit is contained in:
parent
2796872c40
commit
48f8151ea6
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue