From: Viresh Kumar Date: Wed, 16 Oct 2013 21:58:10 +0000 (+0200) Subject: acpi-cpufreq: Add comment under ACPI_ADR_SPACE_SYSTEM_IO case X-Git-Tag: v3.13-rc1~96^2~12^2~4^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bab64d50e09706ee2e634b2df3c53346f0a0dbb;p=pandora-kernel.git acpi-cpufreq: Add comment under ACPI_ADR_SPACE_SYSTEM_IO case policy->cur is now set by cpufreq core when cpufreq_driver->get() is defined and so drivers aren't required to set it. When space_id is ACPI_ADR_SPACE_SYSTEM_IO for acpi cpufreq driver it doesn't set ->get to a valid function pointer and so policy->cur is required to be set by driver. This is already followed in acpi-cpufreq driver. This patch adds a comment describing why we need to set policy->cur from driver. Suggested-by: Rafael J. Wysocki Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed