Re: [PATCH V2 02/15] cpufreq: mediatek: Use module_init and add module_exit

From: AngeloGioacchino Del Regno
Date: Fri Apr 08 2022 - 09:36:42 EST


Il 08/04/22 06:58, Rex-BC Chen ha scritto:
From: Jia-Wei Chang <jia-wei.chang@xxxxxxxxxxxx>

- 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@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>