spi: sh-msiof: Use async pm_runtime_put() in sh_msiof_spi_setup()

There's no need to use the synchronous version.

Reported-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Geert Uytterhoeven 2015-01-07 16:37:25 +01:00 committed by Mark Brown
parent 1285c3fefa
commit c8935ef0f2

View File

@ -546,7 +546,7 @@ static int sh_msiof_spi_setup(struct spi_device *spi)
gpio_set_value(spi->cs_gpio, !(spi->mode & SPI_CS_HIGH));
pm_runtime_put_sync(&p->pdev->dev);
pm_runtime_put(&p->pdev->dev);
return 0;
}