PM / devfreq: Remove unnecessary separate _remove_devfreq()
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 31 Jan 2017 06:38:18 +0000 (15:38 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Sep 2017 05:33:31 +0000 (14:33 +0900)
commitda337ca37ff6c5c248d7ab15ee98375ddf517bc8
tree39c3fd046b45a1be0f93e74a720508495662a067
parentfa6f7f7fc793a22e3b52ef8ef590bf3d38dff0c6
PM / devfreq: Remove unnecessary separate _remove_devfreq()

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>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/devfreq.c