On 10/07/2014 02:41 PM, Lina Iyer wrote:
+
+static int qcom_cpuidle_probe(struct platform_device *pdev)
+{
+       struct cpuidle_driver *drv = &qcom_cpuidle_driver;
+       int ret;
+
+       qcom_idle_enter = pdev->dev.platform_data;
+       if (!qcom_idle_enter)
+               return -EFAULT;

Is this ever true? Let's just drop the whole check.



--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to