RE: [RESEND PATCH] PM / devfreq: Propagate error from devfreq_add_device()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
 
> --------- Original Message ---------
> Sender : Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxxx
> Acked-by: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
> ---
>  
> 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@xxxxxxxxxxx>

 
 





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]