]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/spi/spi-fsl-espi.c
tree-wide: use reinit_completion instead of INIT_COMPLETION
[mirror_ubuntu-zesty-kernel.git] / drivers / spi / spi-fsl-espi.c
index 32200d4f8780d4f6372e0ba0ce8388873a23d304..80d8f40f7e0553d600f1e36b018daa7fae275a64 100644 (file)
@@ -232,7 +232,7 @@ static int fsl_espi_bufs(struct spi_device *spi, struct spi_transfer *t)
        mpc8xxx_spi->tx = t->tx_buf;
        mpc8xxx_spi->rx = t->rx_buf;
 
-       INIT_COMPLETION(mpc8xxx_spi->done);
+       reinit_completion(&mpc8xxx_spi->done);
 
        /* Set SPCOM[CS] and SPCOM[TRANLEN] field */
        if ((t->len - 1) > SPCOM_TRANLEN_MAX) {