aboutsummaryrefslogtreecommitdiff
path: root/net/unix
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-02-07 20:59:09 +0100
committerRafael J. Wysocki <[email protected]>2023-02-09 20:19:18 +0100
commitdd329e1e21b54c73f58a440b6164d04d8a7fc542 (patch)
treea0b3ce71c44bcd24097615cb3778942207e8e5fa /net/unix
parentced3960aa0f09329675209c6004bfc4025cc1f26 (diff)
cpufreq: Make cpufreq_unregister_driver() return void
All but a few drivers ignore the return value of cpufreq_unregister_driver(). Those few that don't only call it after cpufreq_register_driver() succeeded, in which case the call doesn't fail. Make the function return no value and add a WARN_ON for the case that the function is called in an invalid situation (i.e. without a previous successful call to cpufreq_register_driver()). Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Florian Fainelli <[email protected]> # brcmstb-avs-cpufreq.c Acked-by: Viresh Kumar <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions