spi/omap-100k: Remove empty reset function
Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
24a0013a04
commit
407d600f1f
1 changed files with 0 additions and 8 deletions
|
@ -472,11 +472,6 @@ static int omap1_spi100k_transfer(struct spi_device *spi, struct spi_message *m)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int omap1_spi100k_reset(struct omap1_spi100k *spi100k)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int omap1_spi100k_probe(struct platform_device *pdev)
|
static int omap1_spi100k_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct spi_master *master;
|
struct spi_master *master;
|
||||||
|
@ -532,9 +527,6 @@ static int omap1_spi100k_probe(struct platform_device *pdev)
|
||||||
goto err2;
|
goto err2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (omap1_spi100k_reset(spi100k) < 0)
|
|
||||||
goto err3;
|
|
||||||
|
|
||||||
status = spi_register_master(master);
|
status = spi_register_master(master);
|
||||||
if (status < 0)
|
if (status < 0)
|
||||||
goto err3;
|
goto err3;
|
||||||
|
|
Loading…
Add table
Reference in a new issue