tree-wide: use reinit_completion instead of INIT_COMPLETION
[deliverable/linux.git] / drivers / rtc / rtc-hid-sensor-time.c
index a34e5cfd2ab5ac9864f20fffeff4a884382e3d12..965a9da70867fc95be934283fad8ff274ec21807 100644 (file)
@@ -209,7 +209,7 @@ static int hid_rtc_read_time(struct device *dev, struct rtc_time *tm)
                platform_get_drvdata(to_platform_device(dev));
        int ret;
 
-       INIT_COMPLETION(time_state->comp_last_time);
+       reinit_completion(&time_state->comp_last_time);
        /* get a report with all values through requesting one value */
        sensor_hub_input_attr_get_raw_value(time_state->common_attributes.hsdev,
                        HID_USAGE_SENSOR_TIME, hid_time_addresses[0],
This page took 0.024444 seconds and 5 git commands to generate.