Revert "drivers: power: use 'current' instead of 'get_current()'"
authorAmit Pundir <amit.pundir@linaro.org>
Tue, 17 May 2016 10:36:17 +0000 (16:06 +0530)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 19 May 2016 07:05:13 +0000 (12:35 +0530)
This reverts commit e1b5d103894d097fb630aebc3c1fdaf257f7c9bb.

This patch fixed the aosp commit ad86cc8ad632 (drivers: power:
Add watchdog timer to catch drivers which lockup during suspend.),
which we dropped in Change Id Ic72a87432e27844155467817600adc6cf0c2209c,
so we no longer need this fix. A part of this patch is already reverted
in above mentioned Change Id.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
drivers/base/power/main.c

index 2f7a6e1b568c0b658b39aa693d40b980aa8da906..5ea529165362fb29acb9db260a509fa3e381aff4 100644 (file)
@@ -35,8 +35,6 @@
 #include <linux/timer.h>
 #include <linux/wakeup_reason.h>
 
-#include <asm/current.h>
-
 #include "../base.h"
 #include "power.h"