MIPS: netlogic: remove unnecessary MTD partition probe specification
authorBrian Norris <computersforpeace@gmail.com>
Mon, 18 May 2015 23:21:12 +0000 (16:21 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:52:43 +0000 (21:52 +0200)
The cmdlinepart parser is already supported in the default probe.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: linux-mtd@lists.infradead.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10071/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/netlogic/xlr/platform-flash.c

index 6d3c727e0ef8477deab2d4049c027938af09d72b..f03131fec41d4508737d33b344bf9f59dbc2fb34 100644 (file)
@@ -78,8 +78,6 @@ static struct platform_device xlr_nor_dev = {
        .resource       = xlr_nor_res,
 };
 
-const char *xlr_part_probes[] = { "cmdlinepart", NULL };
-
 /*
  * Use "gen_nand" driver for NAND flash
  *
@@ -111,7 +109,6 @@ struct platform_nand_data xlr_nand_data = {
                .nr_partitions  = ARRAY_SIZE(xlr_nand_parts),
                .chip_delay     = 50,
                .partitions     = xlr_nand_parts,
-               .part_probe_types = xlr_part_probes,
        },
        .ctrl = {
                .cmd_ctrl       = xlr_nand_ctrl,