diff options
author | 2014-09-26 22:19:12 +0200 | |
---|---|---|
committer | 2014-09-29 15:36:03 +0200 | |
commit | d62dbf77f7dfaa6fb455b4b9828069a11965929c (patch) | |
tree | 2c4f1c60f6ff7a1cea0be9d7b6f3b75aff576361 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: pcc-cpufreq: Fix wait_event() under spinlock (diff) | |
download | wireguard-linux-d62dbf77f7dfaa6fb455b4b9828069a11965929c.tar.xz wireguard-linux-d62dbf77f7dfaa6fb455b4b9828069a11965929c.zip |
cpufreq: integrator: fix integrator_cpufreq_remove return type
When building this driver as a module, we get a helpful warning
about the return type:
drivers/cpufreq/integrator-cpufreq.c:232:2: warning: initialization from incompatible pointer type
.remove = __exit_p(integrator_cpufreq_remove),
If the remove callback returns void, the caller gets an undefined
value as it expects an integer to be returned. This fixes the
problem by passing down the value from cpufreq_unregister_driver.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions