From: Lucas Stach Date: Fri, 16 May 2014 10:20:42 +0000 (+0200) Subject: cpufreq: cpu0: drop wrong devm usage X-Git-Tag: omap-for-v3.16/fixes-against-rc1~127^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3beb0ac521d50d158a9d253373eae8421ac3998;p=pandora-kernel.git 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 Acked-by: Viresh Kumar Cc: 3.9+ # 3.9+ Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed