mtd: remove the "chip" parameter in nand_get_device()
authorHuang Shijie <b32955@freescale.com>
Mon, 19 Nov 2012 06:43:30 +0000 (14:43 +0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 3 Dec 2012 14:36:51 +0000 (16:36 +0200)
There are two reasons to remove the "chip" parameter in nand_get_device():

[1] The nand_release_device() does not have the "chip" parameter.
[2] We can get the nand_chip by the mtd->priv field.

This patch removes the "chip" parameter in nand_get_device().

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

No differences found