wakeup: change formatting alignement
Shridhar Rasal [Tue, 16 Oct 2012 07:37:54 +0000 (12:37 +0530)]
Just sets proper formatting aligment for wakeup_sources stats.

Change-Id: I4bf41e53e39b892e290de9ee2bfdb25573a205fc
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/144796
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

drivers/base/power/wakeup.c

index c9a15bc..d4cb701 100644 (file)
@@ -844,7 +844,7 @@ static int print_wakeup_source_stats(struct seq_file *m,
                active_time = ktime_set(0, 0);
        }
 
-       ret = seq_printf(m, "%-12s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t"
+       ret = seq_printf(m, "%-24s%lu\t\t%lu\t\t%lu\t\t%lu\t\t"
                        "%lld\t\t%lld\t\t%lld\t\t%lld\t\t%lld\n",
                        ws->name, active_count, ws->event_count,
                        ws->wakeup_count, ws->expire_count,
@@ -865,7 +865,7 @@ static int wakeup_sources_stats_show(struct seq_file *m, void *unused)
 {
        struct wakeup_source *ws;
 
-       seq_puts(m, "name\t\tactive_count\tevent_count\twakeup_count\t"
+       seq_puts(m, "name\t\t\tactive_count\tevent_count\twakeup_count\t"
                "expire_count\tactive_since\ttotal_time\tmax_time\t"
                "last_change\tprevent_suspend_time\n");