[PATCH v8 5/7] qcom: cpuidle: Add cpuidle driver for QCOM cpus

Stephen Boyd
2014-10-09T01:22:07Z

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