public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 01/32] mtd: mtd_dataflash don't specify default parsing options
@ 2011-06-06  9:15 Dmitry Eremin-Solenikov
  2011-06-06  9:15 ` [PATCH 02/32] mtd: sst25l " Dmitry Eremin-Solenikov
                   ` (31 more replies)
  0 siblings, 32 replies; 37+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-06-06  9:15 UTC (permalink / raw)
  To: linux-mtd; +Cc: David Woodhouse, dedekind1

Since 'cmdline, NULL' is now a default for parse_mtd_partitions, don't specify
this in every driver, instead pass NULL to force parse_mtd_partitions
to use default.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 drivers/mtd/devices/mtd_dataflash.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c
index 13749d4..4d4a9cd 100644
--- a/drivers/mtd/devices/mtd_dataflash.c
+++ b/drivers/mtd/devices/mtd_dataflash.c
@@ -677,12 +677,7 @@ add_dataflash_otp(struct spi_device *spi, char *name,
 			pagesize, otp_tag);
 	dev_set_drvdata(&spi->dev, priv);
 
-	if (mtd_has_cmdlinepart()) {
-		static const char *part_probes[] = { "cmdlinepart", NULL, };
-
-		nr_parts = parse_mtd_partitions(device, part_probes, &parts,
-						0);
-	}
+	nr_parts = parse_mtd_partitions(device, NULL, &parts, 0);
 
 	if (nr_parts <= 0 && pdata && pdata->parts) {
 		parts = pdata->parts;
-- 
1.7.4.4

^ permalink raw reply related	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2011-06-06 12:07 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-06  9:15 [PATCH 01/32] mtd: mtd_dataflash don't specify default parsing options Dmitry Eremin-Solenikov
2011-06-06  9:15 ` [PATCH 02/32] mtd: sst25l " Dmitry Eremin-Solenikov
2011-06-06  9:15 ` [PATCH 03/32] mtd: h720x-flash " Dmitry Eremin-Solenikov
2011-06-06  9:15 ` [PATCH 04/32] mtd: impa7 " Dmitry Eremin-Solenikov
2011-06-06  9:15 ` [PATCH 05/32] mtd: intel_vr_nor " Dmitry Eremin-Solenikov
2011-06-06  9:15 ` [PATCH 06/32] mtd: rbtx4939-flash " Dmitry Eremin-Solenikov
2011-06-06 11:42   ` Artem Bityutskiy
2011-06-06  9:15 ` [PATCH 07/32] mtd: atmel_nand " Dmitry Eremin-Solenikov
2011-06-06 11:47   ` Artem Bityutskiy
2011-06-06  9:15 ` [PATCH 08/32] mtd: bcm_umi_nand " Dmitry Eremin-Solenikov
2011-06-06  9:15 ` [PATCH 09/32] mtd: cmx270_nand " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 10/32] mtd: cs553x_nand " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 11/32] mtd: davinci_nand " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 12/32] mtd: edb7312 " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 13/32] mtd: fsl_upm " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 14/32] mtd: fsmc_nand " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 15/32] mtd: h1910 " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 16/32] mtd: jz4740_nand " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 17/32] mtd: lantiq-flash " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 18/32] mtd: latch-addr-flash " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 19/32] mtd: mpc5121_nfc " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 20/32] mtd: ndfc " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 21/32] mtd: omap2 " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 22/32] mtd: orion_nand " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 23/32] mtd: ppchameleonevb " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 24/32] mtd: pxa3xx_nand " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 25/32] mtd: s3c2410 " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 26/32] mtd: sharpsl " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 27/32] mtd: socrates_nand " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 28/32] mtd: tmio_nand " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 29/32] mtd: txx9ndfmc " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 30/32] mtd: onenand/generic " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 31/32] mtd: onenand/omap2 " Dmitry Eremin-Solenikov
2011-06-06  9:16 ` [PATCH 32/32] mtd: samsung/onenand " Dmitry Eremin-Solenikov
2011-06-06 11:04 ` [PATCH 01/32] mtd: mtd_dataflash " Artem Bityutskiy
2011-06-06 11:19   ` Dmitry Eremin-Solenikov
2011-06-06 12:02     ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox