[PATCH] Add NAND chip lock/unlock support

David Woodhouse dwmw2 at infradead.org
Mon Jul 23 06:52:30 EDT 2007


On Wed, 2007-07-18 at 23:31 -0500, Steven J. Hill wrote:
> +       /* check if lock/unlock functions are supported *

Unterminated comment?

> +       if (!chip->lock)
> +               mtd->lock = NULL;
> +       else
> +               mtd->lock = chip->lock; 

Entirely needless conditional.

-- 
dwmw2




More information about the linux-mtd mailing list