Skip to contentSkip to conversation

sh: mach-rsk: remove unnecessary MTD partition probe specification

PATCH In review Brian Norris 1 participant 2 messages May 18, 2015 – Sep 30, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: mach-rsk: remove unnecessary MTD partition probe specification

The cmdlinepart parser is already supported in the default probe.

---
 arch/sh/boards/mach-rsk/setup.c | 3 ---
 1 file changed, 3 deletions(-)
arch/sh/boards/mach-rsk/setup.c +0 -3
index 2685ea03b064..6bc134bd7ec2 100644
@@ -27,8 +27,6 @@ static struct regulator_consumer_supply dummy_supplies[] = {
 	REGULATOR_SUPPLY("vdd33a", "smsc911x"),
 };
 
-static const char *part_probes[] = { "cmdlinepart", NULL };
-
 static struct mtd_partition rsk_partitions[] = {
 	{
 		.name		= "Bootloader",
@@ -50,7 +48,6 @@ static struct physmap_flash_data flash_data = {
 	.parts			= rsk_partitions,
 	.nr_parts		= ARRAY_SIZE(rsk_partitions),
 	.width			= 2,
-	.part_probe_types	= part_probes,
 };
 
 static struct resource flash_resource = {
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · Brian Norris

The cmdlinepart parser is already supported in the default probe.

SuperH is "orphaned", but this patch is trivial. Applied to l2-mtd.git.