From: Rafael J. Wysocki Date: Mon, 27 Jul 2015 21:11:09 +0000 (+0200) Subject: cpufreq: Rework two functions related to CPU offline X-Git-Tag: omap-for-v4.3/fixes-rc1~121^2~4^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15c0b4d222f83672407419f9c9e167e996d8ad2b;p=pandora-kernel.git cpufreq: Rework two functions related to CPU offline Since __cpufreq_remove_dev_prepare() and __cpufreq_remove_dev_finish() are about CPU offline rather than about CPU removal, rename them to cpufreq_offline_prepare() and cpufreq_offline_finish(), respectively. Also change their argument from a struct device pointer to a CPU number, because they use the CPU number only internally anyway and make them void as their return values are ignored. Signed-off-by: Rafael J. Wysocki Acked-by: Viresh Kumar --- Reading git-diff-tree failed