From: Sahara Date: Thu, 20 Jun 2013 02:33:57 +0000 (+0900) Subject: PM / QoS: correct the valid range of pm_qos_class X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~19^2~6^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d24c2a4f919d17bd1ae4f4010a38ab07ece99cf7;p=pandora-kernel.git PM / QoS: correct the valid range of pm_qos_class The valid start index for pm_qos_array is not 0, but PM_QOS_CPU_DMA_LATENCY. There is a null_pm_qos at index 0 of pm_qos_array. However, null_pm_qos is not created as misc device so that inclusion of 0 index for checking pm_qos_class especially for file operations is not proper here. [rjw: Changelog, a bit] Signed-off-by: Sahara Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed