[PATCH v2 13/18] ARM: OMAP: CPUidle: Unregister drivere on device registration failure

Kevin Hilman khilman at linaro.org
Wed Apr 3 17:03:59 EDT 2013


Santosh Shilimkar <santosh.shilimkar at ti.com> writes:

> If the CPUidle device registration fails for some reason, we should
> unregister the driver on error path.
>
> Fix the code accordingly. Also when at it, check of the driver registration
> failure too.
>
> Acked-by: Nishanth Menon <nm at ti.com>
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar at ti.com>

Adding to my for_3.10/fixes/cpuidle branch.

Kevin



More information about the linux-arm-kernel mailing list