mtd: gpmi: fix a dereferencing freed memory error
authorHuang Shijie <b32955@freescale.com>
Wed, 23 Jan 2013 08:20:53 +0000 (16:20 +0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 4 Feb 2013 08:06:31 +0000 (10:06 +0200)
The patch "490e280 mtd: gpmi-nand: Convert to module_platform_driver()"
introduced a "dereferencing freed memory" error.

This patch fixes it.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

No differences found