[PATCH 0/5] devfreq: Support resource management functions and code clean

From: Chanwoo Choi
Date: Fri Apr 25 2014 - 05:10:53 EST


This patchset fix devfreq_remove_device() to remove duplicate function call
of _remove_devfreq() and add following functions for the resource management
of devfreq device and simpify the control of resource on exynos4_bus/exynos5_bus
driver.
- devm_devfreq_add_device
- devm_devfreq_remove_device
- devm_devfreq_register_opp_notifier
- devm_devfreq_unregister_opp_notifier

Chanwoo Choi (5):
devfreq: Fix devfreq_remove_device() to improve the sequence of resource free
devfreq: Add resource-managed function for devfreq device
devfreq: Add devm_devfreq_{register,unregister}_opp_notfier function
devfreq: exynos4: Use devm_devfreq_* function using device resource management
devfreq: exynos5: Use devm_devfreq_* function using device resource management

drivers/devfreq/devfreq.c | 125 ++++++++++++++++++++++++++++++++---
drivers/devfreq/exynos/exynos4_bus.c | 19 ++----
drivers/devfreq/exynos/exynos5_bus.c | 23 +++----
include/linux/devfreq.h | 35 +++++++++-
4 files changed, 161 insertions(+), 41 deletions(-)

--
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/