tree-wide: use reinit_completion instead of INIT_COMPLETION
[deliverable/linux.git] / drivers / i2c / busses / i2c-at91.c
index fd059308affa2985e64142756c9176f356f0d744..8edba9de76df17ff4d0c973daafd89d4a1510f40 100644 (file)
@@ -371,7 +371,7 @@ static int at91_do_twi_transfer(struct at91_twi_dev *dev)
        dev_dbg(dev->dev, "transfer: %s %d bytes.\n",
                (dev->msg->flags & I2C_M_RD) ? "read" : "write", dev->buf_len);
 
-       INIT_COMPLETION(dev->cmd_complete);
+       reinit_completion(&dev->cmd_complete);
        dev->transfer_status = 0;
 
        if (!dev->buf_len) {
This page took 0.026727 seconds and 5 git commands to generate.