[PATCH 1/2] mtd: gpmi-nand: Convert to platform driver

Fabio Estevam festevam at gmail.com
Wed Sep 5 15:00:42 EDT 2012


Hi Marek,

On Wed, Sep 5, 2012 at 3:55 PM, Marek Vasut <marex at denx.de> wrote:
> Dear Fabio Estevam,
>
>> From: Fabio Estevam <fabio.estevam at freescale.com>
>>
>> Using module_platform_driver() makes the code smaller and cleaner.
>
> You did not document the dev_info() etc. addition, dunno if it's important or
> not.

It is not an addition. I just moved  "pr_info("driver registered.\n")"
 from gpmi_nand_init, (which is removed by this patch) to the probe
function.

Regards,

Fabio Estevam



More information about the linux-mtd mailing list