ktime: Get rid of the union
[linux-2.6-block.git] / drivers / base / power / wakeup.c
index bf9ba26981a5590f97c6cf029bbf0ccb1fe31aa8..94332902a1cfeb17c65bf3d4bc3a387c0a610956 100644 (file)
@@ -998,7 +998,7 @@ static int print_wakeup_source_stats(struct seq_file *m,
 
                active_time = ktime_sub(now, ws->last_time);
                total_time = ktime_add(total_time, active_time);
-               if (active_time.tv64 > max_time.tv64)
+               if (active_time > max_time)
                        max_time = active_time;
 
                if (ws->autosleep_enabled)