lkml.org 
[lkml]   [2017]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [RESEND PATCH] PM / devfreq: Propagate error from devfreq_add_device()
From
Date
 
 
> --------- Original Message ---------
> Sender : Bjorn Andersson <bjorn.andersson@linaro.org>

> Propagate the error of devfreq_add_device() in devm_devfreq_add_device()
> rather than statically returning ENOMEM. This makes it slightly faster
> to pinpoint the cause of a returned error.

> Fixes: 8cd84092d35e ("PM / devfreq: Add resource-managed function for devfreq device")
> Cc: stable@vger.kernel.org
> Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  
> Resending with Chanwoo's ack, Fixes and Cc stable
>  
>  drivers/devfreq/devfreq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>

 
 


\
 
 \ /
  Last update: 2017-11-06 10:03    [W:0.147 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site