diff options
author | Liu Shuo <b35362@freescale.com> | 2011-06-28 05:50:51 +0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 16:02:14 +0400 |
commit | 57b078a09bf0ab3f0babcfe6ecb2ac226d9178be (patch) | |
tree | 33cc32cff12c478f7d4fc8e184430f388f69b491 /drivers/pci/of.c | |
parent | b4ca74738ab6c9ed8190b06cd7bf785dc98c640e (diff) | |
download | linux-57b078a09bf0ab3f0babcfe6ecb2ac226d9178be.tar.xz |
mtd: nand: don't free the global data too early
The global data fsl_lbc_ctrl_dev->nand don't have to be freed in
fsl_elbc_chip_remove(). The right place to do that is in fsl_elbc_nand_remove()
if elbc_fcm_ctrl->counter is zero.
Signed-off-by: Liu Shuo <b35362@freescale.com>
Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
Diffstat (limited to 'drivers/pci/of.c')
0 files changed, 0 insertions, 0 deletions