PM / devfreq: Remove unnecessary separate _remove_devfreq()
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 31 Jan 2017 06:38:18 +0000 (15:38 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 31 Jan 2017 06:48:00 +0000 (15:48 +0900)
commit29b6968b05b6a4a858ba3ce767be1025ab59f2ca
treeacc49d1522fa98593998a6c4e2a4cfe870ae8ffd
parent30582c25a4b4e0a5e456a309fde79b845e9473b2
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