tree-wide: use reinit_completion instead of INIT_COMPLETION
[deliverable/linux.git] / drivers / i2c / busses / i2c-bcm2835.c
index ea4b08fc3353a99f75ac64eaf11bd3c1370d2913..d7e8600f31fbba8c4eaec181e9c1b277b7c7740d 100644 (file)
@@ -151,7 +151,7 @@ static int bcm2835_i2c_xfer_msg(struct bcm2835_i2c_dev *i2c_dev,
 
        i2c_dev->msg_buf = msg->buf;
        i2c_dev->msg_buf_remaining = msg->len;
-       INIT_COMPLETION(i2c_dev->completion);
+       reinit_completion(&i2c_dev->completion);
 
        bcm2835_i2c_writel(i2c_dev, BCM2835_I2C_C, BCM2835_I2C_C_CLEAR);
 
This page took 0.024156 seconds and 5 git commands to generate.