• Lizhe's avatar
    cpufreq: Make cpufreq_driver->exit() return void · b4b1ddc9
    Lizhe authored
    The cpufreq core doesn't check the return type of the exit() callback
    and there is not much the core can do on failures at that point. Just
    drop the returned value and make it return void.
    Signed-off-by: default avatarLizhe <sensor1010@163.com>
    [ Viresh: Reworked the patches to fix all missing changes together. ]
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> # Mediatek
    Acked-by: Sudeep Holla <sudeep.holla@arm.com> # scpi, scmi, vexpress
    Acked-by: Mario Limonciello <mario.limonciello@amd.com> # amd
    Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> # bmips
    Acked-by: default avatarRafael J. Wysocki <rafael@kernel.org>
    Acked-by: Kevin Hilman <khilman@baylibre.com> # omap
    b4b1ddc9
sh-cpufreq.c 4.36 KB