diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-08-10 10:16:37 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-09-04 10:42:06 +0200 |
commit | 2c78c44362bc9b7c715a3c2119b89a407c1cb739 (patch) | |
tree | 2ecdf19b0bccb73b60486c6784ae7cf0c7d67350 /fs/jffs2 | |
parent | mtd: make few symbols static (diff) | |
download | linux-2c78c44362bc9b7c715a3c2119b89a407c1cb739.tar.xz linux-2c78c44362bc9b7c715a3c2119b89a407c1cb739.zip |
mtd: pmcmsp-flash: fix error paths in init_msp_flash
Cleanin up after errors in init_msp_flash().
Also cleanup_msp_flash() attempts to determine the size of
msp_flash with `sizeof(msp_flash) / sizeof(struct mtd_info **)'
This will not work since msp_flash is not an array.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions