PM / Sleep: Add "prevent autosleep time" statistics to wakeup sources

Android uses one wakelock statistics that is only necessary
for
opportunistic sleep.  Namely, the prevent_suspend_time
field
accumulates the total time the given wakelock has been
locked
while "automatic suspend" was enabled.  Add an analogous
field,
prevent_sleep_time, to wakeup sources and make it behave in a
similar
way.

Change-Id:
I4b9719d05da020757d7cc21ed3b52b7c32261bea
Signed-off-by: Rafael J.
Wysocki <rjw@sisk.pl>
Acked-by: Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Git-commit: 5585094
Git-repo:
git://codeaurora.org/kernel/msm.git
Signed-off-by: Anurag Singh
<anursing@codeaurora.org>

idea is taken here -
https://github.com/rmbq/android_kernel_htc_msm8960/commit/21b6347c13f9911a5de084ac16e5ba742a408a4d