linux/drivers/devfreq
Cai Zhiyong a5e9b937fa PM / devfreq: fix double call put_device
1295  */
1296 void device_unregister(struct device *dev)
1297 {
1298         pr_debug("device: '%s': %s\n", dev_name(dev), __func__);
1299         device_del(dev);
1300         put_device(dev);
1301 }
1302 EXPORT_SYMBOL_GPL(device_unregister);
1303

device_unregister is called put_device, there is no need to call
put_device(&devfreq->dev) again.

Signed-off-by: Cai Zhiyong <caizhiyong@huawei.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2016-06-22 13:52:43 +09:00
..
event PM / devfreq: event: Add new Exynos NoC probe driver 2016-05-03 11:21:07 +09:00
devfreq-event.c PM / devfreq: event: Find the instance of devfreq-event device by using phandle 2016-05-03 11:21:51 +09:00
devfreq.c PM / devfreq: fix double call put_device 2016-06-22 13:52:43 +09:00
exynos-bus.c PM / devfreq: style/typo fixes 2016-05-03 11:22:10 +09:00
governor_passive.c PM / devfreq: style/typo fixes 2016-05-03 11:22:10 +09:00
governor_performance.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
governor_powersave.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
governor_simpleondemand.c PM / devfreq: cache the last call to get_dev_status() 2015-09-11 14:23:28 +09:00
governor_userspace.c PM / devfreq: governors: add GPL module license and allow module build 2012-11-20 18:46:23 +09:00
governor.h PM / devfreq: provide hooks for governors to be registered 2012-11-20 18:46:12 +09:00
Kconfig PM / devfreq: exynos: Remove unused exynos4/5 busfreq driver 2016-05-03 11:20:09 +09:00
Makefile PM / devfreq: exynos: Remove unused exynos4/5 busfreq driver 2016-05-03 11:20:09 +09:00
tegra-devfreq.c PM / devfreq: tegra: Set freq in rate callback 2016-02-23 14:27:42 +09:00