[PATCH 4.18 158/235] PM / devfreq: use put_device() instead of kfree()