summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/plat_nand.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-06-06 18:04:16 +0400
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 15:02:04 +0300
commit0dc8626a17ab8dea9f1e34c7a5d667f5331b0ddc (patch)
treece7eee3bec3b0c4a58309ceadc15e8ba25943eb2 /drivers/mtd/nand/plat_nand.c
parent78dd9e3500873edd6005a41f8ba178eacbff64c5 (diff)
downloadlwn-0dc8626a17ab8dea9f1e34c7a5d667f5331b0ddc.tar.gz
lwn-0dc8626a17ab8dea9f1e34c7a5d667f5331b0ddc.zip
mtd: plat-nand: drop unused fields from platform_nand_data
Drop now unused set_parts from struct platform_nand_data. Also, while we are at it, drop long unused priv field from platform_nand_data. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/nand/plat_nand.c')
-rw-r--r--drivers/mtd/nand/plat_nand.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/nand/plat_nand.c b/drivers/mtd/nand/plat_nand.c
index ccdb16ec8143..746a723b4933 100644
--- a/drivers/mtd/nand/plat_nand.c
+++ b/drivers/mtd/nand/plat_nand.c
@@ -109,8 +109,6 @@ static int __devinit plat_nand_probe(struct platform_device *pdev)
return 0;
}
}
- if (pdata->chip.set_parts)
- pdata->chip.set_parts(data->mtd.size, &pdata->chip);
if (pdata->chip.partitions) {
data->parts = pdata->chip.partitions;
err = mtd_device_register(&data->mtd, data->parts,