RE: [PATCH 3/3] PM / devfreq: Remove unnecessary separate _remove_devfreq()
From: MyungJoo Ham
Date: Mon Jan 23 2017 - 22:41:16 EST
> The _remove_devfreq() releases the all resources of the devfreq
> device. This function is only called in the devfreq_dev_release().
> For that reason, the devfreq core doesn't need to leave the
> _remove_devfreq() separately. This patch releases the all
> resources in the devfreq_dev_release() and then removes the
> _remove_devfreq().
>
> Signed-off-by: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
Acked-by: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>
> ---
> drivers/devfreq/devfreq.c | 23 +++++++----------------
> 1 file changed, 7 insertions(+), 16 deletions(-)