From: Philipp Zabel
Date: Wed, 14 May 2014 16:02:23 +0000 (+0200)
Subject: cpufreq: imx6q: Drop devm_clk/regulator_get usage
X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~5^2~1^2^2~6
X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8269c19222550dd357e515673f628071880d64c;p=pandora-kernel.git
cpufreq: imx6q: Drop devm_clk/regulator_get 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.
Supporting probe deferral properly is a prerequisite to enabling the
internal LDO bypass on i.MX6 and regulating the CPU voltage with an
external regulator.
Acked-by: Viresh Kumar
Acked-by: Shawn Guo
Signed-off-by: Philipp Zabel
Signed-off-by: Rafael J. Wysocki
---
Reading git-diff-tree failed