[PATCH] mtd: gpmi: Remove noisy error message

Fabio Estevam festevam at gmail.com
Wed Nov 26 03:44:23 PST 2014


On Wed, Nov 26, 2014 at 1:18 AM, Brian Norris
<computersforpeace at gmail.com> wrote:
> On Tue, Nov 11, 2014 at 06:16:29PM -0200, Fabio Estevam wrote:
>> BTW, I don't see any other nand driver that prints error on the probe
>> error path like this one.
>
> You're probably still going to see failure prints like
>
>   nand: No NAND device found
>
> in nand_scan_ident(), right? Or does driver probe fail earlier than that
> somehow?

Yes, this is what I get currently:

[    1.645433] nand: No NAND device found
[    1.650372] gpmi-nand 8000c000.gpmi-nand: driver registration failed: -19

In my opinion the "No NAND device found" is enough.

Thanks



More information about the linux-mtd mailing list