cpufreq: mediatek: Use module_init and add module_exit
- Use module_init instead of device_initcall. - Add a function for module_exit to unregister driver. Signed-off-by: NJia-Wei Chang <jia-wei.chang@mediatek.com> Reviewed-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
Showing
想要评论请 注册 或 登录