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

Pramod Gurav
2014-09-27T08:18:04Z

On 27-09-2014 06:28 AM, Lina Iyer wrote:
..

> +}
> +
> +static struct platform_driver qcom_cpuidle_plat_driver = {
> + .probe = qcom_cpuidle_probe,
> + .driver = {
> + .name = "qcom_cpuidle",
> + .owner = THIS_MODULE,
.owner field can be removed here, as for drivers which
use the module_platform_driver API, this is overriden in
platform_driver_register anyway.
> + },
> +};
> +
> +module_platform_driver(qcom_cpuidle_plat_driver);
>