diff options
author | Huang Shijie <b32955@freescale.com> | 2012-11-19 07:43:30 +0100 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-12-03 15:36:51 +0100 |
commit | 6a8214aa3d323d2e185523ea112116759bc3c5ce (patch) | |
tree | 6b5ea204d2c477d328c7f81168ed3fbb02e9bb3e /drivers/bus | |
parent | mtd: remove the de-select chip code in nand_release_device() (diff) | |
download | linux-6a8214aa3d323d2e185523ea112116759bc3c5ce.tar.xz linux-6a8214aa3d323d2e185523ea112116759bc3c5ce.zip |
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>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions