From b431796a84b21383566d0d1b1728da4fe265a357 Mon Sep 17 00:00:00 2001 From: Amit Jain Date: Sat, 4 Oct 2014 20:13:37 +0000 Subject: Revert "IKXCLOCK-4061: power key behavior change" This reverts commit 58efe519a5477c70a184cdf376520122127f69f0. Change-Id: I8a80fcb5d7386ac8c74da99aa649ad549d64d3a1 --- drivers/misc/bq5105x_detect.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'drivers/misc/bq5105x_detect.c') diff --git a/drivers/misc/bq5105x_detect.c b/drivers/misc/bq5105x_detect.c index 4c01828f5ca..37cbdcaa11c 100644 --- a/drivers/misc/bq5105x_detect.c +++ b/drivers/misc/bq5105x_detect.c @@ -31,12 +31,7 @@ #include #include #include -#ifdef CONFIG_WAKEUP_SOURCE_NOTIFY #include -#endif -#ifdef CONFIG_POWER_KEY_OVERRIDE -#include -#endif /* * Detect when a device is placed on a wireless charger and report this to user @@ -220,10 +215,6 @@ static void bq5105x_detect_report(struct bq5105x_detect *chip, bool docked) { if (chip->reported_docked != docked) { dev_dbg(&chip->pdev->dev, "report docked=%d\n", docked); -#ifdef CONFIG_POWER_KEY_OVERRIDE - charger_notify_subscriber(docked - ? EVENT_DOCKON : EVENT_DOCKOFF); -#endif #ifdef CONFIG_WAKEUP_SOURCE_NOTIFY wakeup_source_notify_subscriber(docked ? DISPLAY_WAKE_EVENT_DOCKON -- cgit v1.2.3-70-g09d2