cpufreq: qcom: Refactor the driver to make it easier to extend
Refactor the driver to make it easier to extend in a later commit. Create a driver struct to collect all common resources, in order to make it easier to free up all common resources. Create a driver match_data struct to make it easier to extend the driver with support for new features that might only be supported on certain SoCs. Changes since RFC: -Changed type of versions to u32 from u32*. -Make the driver use a match_data struct, so that different SoC can have different features. -Fixed error handling. Co-developed-by:Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> Signed-off-by:
Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> Signed-off-by:
Niklas Cassel <niklas.cassel@linaro.org>
Loading
Please sign in to comment