Loading drivers/mmc/host/mmc_spi.c +16 −20 Original line number Diff line number Diff line Loading @@ -1499,10 +1499,7 @@ static int mmc_spi_probe(struct spi_device *spi) static int mmc_spi_remove(struct spi_device *spi) { struct mmc_host *mmc = dev_get_drvdata(&spi->dev); struct mmc_spi_host *host; if (mmc) { host = mmc_priv(mmc); struct mmc_spi_host *host = mmc_priv(mmc); /* prevent new mmc_detect_change() calls */ if (host->pdata && host->pdata->exit) Loading @@ -1523,7 +1520,6 @@ static int mmc_spi_remove(struct spi_device *spi) spi->max_speed_hz = mmc->f_max; mmc_free_host(mmc); mmc_spi_put_pdata(spi); } return 0; } Loading Loading
drivers/mmc/host/mmc_spi.c +16 −20 Original line number Diff line number Diff line Loading @@ -1499,10 +1499,7 @@ static int mmc_spi_probe(struct spi_device *spi) static int mmc_spi_remove(struct spi_device *spi) { struct mmc_host *mmc = dev_get_drvdata(&spi->dev); struct mmc_spi_host *host; if (mmc) { host = mmc_priv(mmc); struct mmc_spi_host *host = mmc_priv(mmc); /* prevent new mmc_detect_change() calls */ if (host->pdata && host->pdata->exit) Loading @@ -1523,7 +1520,6 @@ static int mmc_spi_remove(struct spi_device *spi) spi->max_speed_hz = mmc->f_max; mmc_free_host(mmc); mmc_spi_put_pdata(spi); } return 0; } Loading