diff mbox

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

Message ID 1431991470-22388-1-git-send-email-computersforpeace@gmail.com (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show

Commit Message

Brian Norris May 18, 2015, 11:24 p.m. UTC
The cmdlinepart parser is already supported in the default probe.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
 arch/sh/boards/mach-rsk/setup.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Brian Norris Sept. 30, 2015, 8:53 p.m. UTC | #1
On Mon, May 18, 2015 at 04:24:30PM -0700, Brian Norris wrote:
> The cmdlinepart parser is already supported in the default probe.
> 
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>

SuperH is "orphaned", but this patch is trivial. Applied to l2-mtd.git.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/sh/boards/mach-rsk/setup.c b/arch/sh/boards/mach-rsk/setup.c
index 2685ea03b064..6bc134bd7ec2 100644
--- a/arch/sh/boards/mach-rsk/setup.c
+++ b/arch/sh/boards/mach-rsk/setup.c
@@ -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 = {