Re: [PATCH 2/2] staging/tidspbridge: use module_platform_driver

From: Ramirez Luna, Omar
Date: Tue Jul 24 2012 - 13:41:16 EST


On Sat, Jul 21, 2012 at 3:56 AM, Devendra Naga
<develkernel412222@xxxxxxxxx> wrote:
> the code under _init and _exit does platform_driver_register and
> platform_driver_unregister respectively only,
>
> so its better to use the module_platform_driver than just replicating
> the module_platform_driver's implementation
>
> Signed-off-by: Devendra Naga <develkernel412222@xxxxxxxxx>

FWIW, looks good to me.

Cheers,

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