Re: [PATCH 1/4] x86: platform: mrst: checkplatform_device_register() return code

From: Alan Cox
Date: Thu Nov 18 2010 - 15:39:27 EST


On Thu, 18 Nov 2010 21:16:45 +0300
Vasiliy Kulikov <segoon@xxxxxxxxxxxx> wrote:

> platform_device_register() may fail, if so propagate the return
> code from mrst_device_create().
>
> Signed-off-by: Vasiliy Kulikov <segoon@xxxxxxxxxxxx>

Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>

On further inspection this fix is actually correct as the other
cleanup got moved to the arch/x86 driver.

Alan
--
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/