From patchwork Mon May 18 23:24:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 6432621 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EB345C0432 for ; Mon, 18 May 2015 23:24:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 22AD32042A for ; Mon, 18 May 2015 23:24:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3303C20429 for ; Mon, 18 May 2015 23:24:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755129AbbERXYj (ORCPT ); Mon, 18 May 2015 19:24:39 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:35131 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754982AbbERXYi (ORCPT ); Mon, 18 May 2015 19:24:38 -0400 Received: by pacwv17 with SMTP id wv17so171141862pac.2; Mon, 18 May 2015 16:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=y3i9sq+TUdHgC/WQ19HeXv1XdtUWijya7Oapr1cY8PU=; b=bxySAfCH4cbR4yjNPuQFNdFkVi7NNGZRMdeUJcIRNIKZx+yrQlOJ7HjP/yg1YK4NCO Tt3jiTF7eO1H4rdjQ3ELW+L5MmJ0mmFq3S0PCGYc9hcBmz5AR1FSuAPWQNn+DXDq1Ayd WLXybavxs/T61U4eLYORBZfJg0mXNIIEssgWh73G0JO04YSUndHgdXkaV4G7q4t/QRMh kySArsL4oUU8mZ4PCRHRUd3uOKDjf1olQ5Sbhbh8aw00S/lkPilUISoU+hq47J3u0lTZ xjfptS7Q10avxsfG66CbGWipRJ+otflEdyrfqDn/uJIwDWPVEVWAgyQDyMn3An/yGfwX 4qkQ== X-Received: by 10.68.57.142 with SMTP id i14mr45506975pbq.135.1431991478432; Mon, 18 May 2015 16:24:38 -0700 (PDT) Received: from ld-irv-0074.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id gj5sm11083093pbb.22.2015.05.18.16.24.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 May 2015 16:24:37 -0700 (PDT) From: Brian Norris To: linux-sh@vger.kernel.org Cc: , , Brian Norris Subject: [PATCH] sh: mach-rsk: remove unnecessary MTD partition probe specification Date: Mon, 18 May 2015 16:24:30 -0700 Message-Id: <1431991470-22388-1-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The cmdlinepart parser is already supported in the default probe. Signed-off-by: Brian Norris --- arch/sh/boards/mach-rsk/setup.c | 3 --- 1 file changed, 3 deletions(-) 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 = {