From: Viresh Kumar Date: Mon, 16 Sep 2013 13:26:40 +0000 (+0530) Subject: cpufreq: tegra: fix implementation of ->exit() X-Git-Tag: v3.13-rc1~96^2~12^2~4^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e6a5c80e6fa8fd3af6c2ffc5ad6073e798a1690;p=pandora-kernel.git cpufreq: tegra: fix implementation of ->exit() ->exit() of drivers should call cpufreq_frequency_table_put_attr() if they have called cpufreq_frequency_table_get_attr() earlier in init() and they aren't required to validate their cpufreq table in exit by calling cpufreq_frequency_table_cpuinfo(). Tegra's driver wasn't calling cpufreq_frequency_table_put_attr() and was calling cpufreq_frequency_table_cpuinfo() in exit. Fix both these issues in it. Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed