diff options
author | Jia-Wei Chang <jia-wei.chang@mediatek.com> | 2022-04-08 12:58:55 +0800 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-04-26 12:09:09 +0530 |
commit | b7070187c81cb90549d7561c0e750d7c7eb751f4 (patch) | |
tree | 3b37d36e2231d76b0663797c4332335aab82df66 /mm/sparse.c | |
parent | 7e6719ad5d1d308c207fb42c19be7495cccb2079 (diff) |
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: Jia-Wei Chang <jia-wei.chang@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions