diff mbox

mfd: db8500-prcmu: remove check for CONFIG_DBX500_PRCMU_DEBUG

Message ID 1400792131.16407.33.camel@x220 (mailing list archive)
State New, archived
Headers show

Commit Message

Paul Bolle May 22, 2014, 8:55 p.m. UTC
A check for CONFIG_DBX500_PRCMU_DEBUG was added in v3.6. But there's no
Kconfig symbol DBX500_PRCMU_DEBUG. So remove this check.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Untested. Note that db8500_prcmu_debug_dump() is nowhere to be found in
the tree.

This check has been in the tree for less than two years. Am I being
impatient here?

 drivers/mfd/db8500-prcmu.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Lee Jones May 23, 2014, 10:10 a.m. UTC | #1
> A check for CONFIG_DBX500_PRCMU_DEBUG was added in v3.6. But there's no
> Kconfig symbol DBX500_PRCMU_DEBUG. So remove this check.
> 
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> Untested. Note that db8500_prcmu_debug_dump() is nowhere to be found in
> the tree.
> 
> This check has been in the tree for less than two years. Am I being
> impatient here?
> 
>  drivers/mfd/db8500-prcmu.c | 3 ---
>  1 file changed, 3 deletions(-)

Applied, thanks.

> diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
> index 7694e0700d34..c248bde367ab 100644
> --- a/drivers/mfd/db8500-prcmu.c
> +++ b/drivers/mfd/db8500-prcmu.c
> @@ -2303,9 +2303,6 @@ int prcmu_ac_wake_req(void)
>  
>  	if (!wait_for_completion_timeout(&mb0_transfer.ac_wake_work,
>  			msecs_to_jiffies(5000))) {
> -#if defined(CONFIG_DBX500_PRCMU_DEBUG)
> -		db8500_prcmu_debug_dump(__func__, true, true);
> -#endif
>  		pr_crit("prcmu: %s timed out (5 s) waiting for a reply.\n",
>  			__func__);
>  		ret = -EFAULT;
diff mbox

Patch

diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
index 7694e0700d34..c248bde367ab 100644
--- a/drivers/mfd/db8500-prcmu.c
+++ b/drivers/mfd/db8500-prcmu.c
@@ -2303,9 +2303,6 @@  int prcmu_ac_wake_req(void)
 
 	if (!wait_for_completion_timeout(&mb0_transfer.ac_wake_work,
 			msecs_to_jiffies(5000))) {
-#if defined(CONFIG_DBX500_PRCMU_DEBUG)
-		db8500_prcmu_debug_dump(__func__, true, true);
-#endif
 		pr_crit("prcmu: %s timed out (5 s) waiting for a reply.\n",
 			__func__);
 		ret = -EFAULT;