Messages in this thread | | | Subject | RE: [PATCH 3/3] PM / devfreq: Remove unnecessary separate _remove_devfreq() | From | MyungJoo Ham <> | Date | Tue, 24 Jan 2017 03:41:03 +0000 |
| |
> 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@samsung.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
> --- > drivers/devfreq/devfreq.c | 23 +++++++---------------- > 1 file changed, 7 insertions(+), 16 deletions(-)
| |