diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2014-05-16 12:20:42 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-20 01:29:20 +0200 |
commit | e3beb0ac521d50d158a9d253373eae8421ac3998 (patch) | |
tree | db09042de3e8135eb95042410b79ca70f89de8be /drivers/video/backlight/ld9040_gamma.h | |
parent | c5450db85b828d0c46ac8fc570fb8a51bf07ac40 (diff) | |
download | blackbird-op-linux-e3beb0ac521d50d158a9d253373eae8421ac3998.tar.gz blackbird-op-linux-e3beb0ac521d50d158a9d253373eae8421ac3998.zip |
cpufreq: cpu0: drop wrong devm usage
This driver is using devres managed calls incorrectly, giving the cpu0
device as first parameter instead of the cpufreq platform device.
This results in resources not being freed if the cpufreq platform device
is unbound, for example if probing has to be deferred for a missing
regulator.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: 3.9+ <stable@vger.kernel.org> # 3.9+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/video/backlight/ld9040_gamma.h')
0 files changed, 0 insertions, 0 deletions