[PATCH 1/3] msm: Add support for Scorpion and ScorpionMP PMU

Trilok Soni tsoni at codeaurora.org
Sat Mar 5 03:43:12 EST 2011


Hi Sheetal,

> +static int __init scorpion_pmu_init(void)
> +{
> +	platform_device_register(&pmu_device);

platform_device_register can fail. Better do it like

"return platform_device_register(&pmu_device);

---Trilok Soni

-- 
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.



More information about the linux-arm-kernel mailing list