commit | 6a8214aa3d323d2e185523ea112116759bc3c5ce | [log] [tgz] |
---|---|---|
author | Huang Shijie <b32955@freescale.com> | Mon Nov 19 14:43:30 2012 +0800 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Mon Dec 03 16:36:51 2012 +0200 |
tree | 6b5ea204d2c477d328c7f81168ed3fbb02e9bb3e | |
parent | b0bb6903c8fca2d5ebef1f8ae63d420eb931bb1e [diff] |
mtd: remove the "chip" parameter in nand_get_device() 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>