[PATCHv2 1/5] devfreq: Fix devfreq_remove_device() to improve the sequence of resource free

2014-05-09 Thread Chanwoo Choi
This patch modify devfreq_remove_device() to improve the sequence of resource free. If executing existing devfreq_remove_device(), this function always executes _remove_devfreq() twice. In result, second _remove_devfreq() always return error value. So, This patch resolves complicated function

[PATCHv2 1/5] devfreq: Fix devfreq_remove_device() to improve the sequence of resource free

2014-05-09 Thread Chanwoo Choi
This patch modify devfreq_remove_device() to improve the sequence of resource free. If executing existing devfreq_remove_device(), this function always executes _remove_devfreq() twice. In result, second _remove_devfreq() always return error value. So, This patch resolves complicated function