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

From: Trilok Soni
Date: Sat Mar 05 2011 - 03:43:47 EST



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/