From patchwork Mon Sep 29 12:30:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 4995821 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 19C7FBEEA6 for ; Mon, 29 Sep 2014 12:33:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2182E20220 for ; Mon, 29 Sep 2014 12:33:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2F25C201F7 for ; Mon, 29 Sep 2014 12:33:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XYa7H-0006XP-E0; Mon, 29 Sep 2014 12:31:47 +0000 Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XYa7E-0006SY-Us; Mon, 29 Sep 2014 12:31:45 +0000 Received: by mail-wg0-f45.google.com with SMTP id m15so321335wgh.28 for ; Mon, 29 Sep 2014 05:31:22 -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:mime-version:content-type :content-transfer-encoding; bh=ESKKt/w0EA9NOuQKkEDrHWoAxW2nNYvLylldrEDVb1M=; b=EuqJvu/b3yOAIY4c9fCR8bAUeZXzAX6+38XrMaUYc5Gsp3m5sbg+D03OrpLnRwCea9 gqO3TelPhDuKPNB9b66RP0VFlhLOJim3kSdiEqLmgaCocFDavQWCIFEWSpNC9aY2lCiy xTgz85dNUBQw7VO23xj+5WiVqRZty9Zv7BodCdQWjP0D9IhYjXplCIRk7bip86dHDt15 6ujf0bwiAH5ycl0fM06OprRRS0UaZAqpEaXJX62DluuiOEUgC+Ta857Ey3s6Ts98IT7E BRrE/Wqmqba0SjoEfwcD7yhBSbH+ui/0MvbFcEjGbMWymuXjMvp+rwCPn3IpH5d9YX8A 8hvQ== X-Received: by 10.194.143.69 with SMTP id sc5mr42794441wjb.26.1411993882300; Mon, 29 Sep 2014 05:31:22 -0700 (PDT) Received: from linux-tdhb.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by mx.google.com with ESMTPSA id au4sm15577126wjc.15.2014.09.29.05.31.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Sep 2014 05:31:21 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: don't set unused name in struct flash_platform_data Date: Mon, 29 Sep 2014 14:30:53 +0200 Message-Id: <1411993853-6309-1-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140929_053145_144692_1E33D7EE X-CRM114-Status: GOOD ( 10.85 ) X-Spam-Score: -0.6 (/) Cc: Wan ZongShun , linux-sh@vger.kernel.org, Kevin Hilman , Magnus Damm , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Sekhar Nori , Simon Horman , linux-mtd@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Loading correct SPI driver (m25p80) is handled using modalias from the struct spi_board_info. There is no point of setting name in the platform_data, m25p80 ignores it anyway. Signed-off-by: Rafa? Mi?ecki --- arch/arm/mach-davinci/board-da830-evm.c | 1 - arch/arm/mach-davinci/board-da850-evm.c | 1 - arch/arm/mach-davinci/board-mityomapl138.c | 1 - arch/arm/mach-shmobile/board-bockw.c | 1 - arch/arm/mach-shmobile/board-koelsch.c | 1 - arch/arm/mach-shmobile/board-lager.c | 1 - arch/arm/mach-w90x900/dev.c | 1 - 7 files changed, 7 deletions(-) diff --git a/arch/arm/mach-davinci/board-da830-evm.c b/arch/arm/mach-davinci/board-da830-evm.c index 5623131..263004a 100644 --- a/arch/arm/mach-davinci/board-da830-evm.c +++ b/arch/arm/mach-davinci/board-da830-evm.c @@ -567,7 +567,6 @@ static struct mtd_partition da830evm_spiflash_part[] = { }; static struct flash_platform_data da830evm_spiflash_data = { - .name = "m25p80", .parts = da830evm_spiflash_part, .nr_parts = ARRAY_SIZE(da830evm_spiflash_part), .type = "w25x32", diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 234c5bb..721ff2b 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -104,7 +104,6 @@ static struct mtd_partition da850evm_spiflash_part[] = { }; static struct flash_platform_data da850evm_spiflash_data = { - .name = "m25p80", .parts = da850evm_spiflash_part, .nr_parts = ARRAY_SIZE(da850evm_spiflash_part), .type = "m25p64", diff --git a/arch/arm/mach-davinci/board-mityomapl138.c b/arch/arm/mach-davinci/board-mityomapl138.c index 96fc00a..3c93b65 100644 --- a/arch/arm/mach-davinci/board-mityomapl138.c +++ b/arch/arm/mach-davinci/board-mityomapl138.c @@ -350,7 +350,6 @@ static struct mtd_partition spi_flash_partitions[] = { }; static struct flash_platform_data mityomapl138_spi_flash_data = { - .name = "m25p80", .parts = spi_flash_partitions, .nr_parts = ARRAY_SIZE(spi_flash_partitions), .type = "m24p64", diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c index 8a83eb3..e25af56 100644 --- a/arch/arm/mach-shmobile/board-bockw.c +++ b/arch/arm/mach-shmobile/board-bockw.c @@ -266,7 +266,6 @@ static struct mtd_partition m25p80_spi_flash_partitions[] = { }; static struct flash_platform_data spi_flash_data = { - .name = "m25p80", .type = "s25fl008k", .parts = m25p80_spi_flash_partitions, .nr_parts = ARRAY_SIZE(m25p80_spi_flash_partitions), diff --git a/arch/arm/mach-shmobile/board-koelsch.c b/arch/arm/mach-shmobile/board-koelsch.c index b7d5bc7..a494a00 100644 --- a/arch/arm/mach-shmobile/board-koelsch.c +++ b/arch/arm/mach-shmobile/board-koelsch.c @@ -207,7 +207,6 @@ static struct mtd_partition spi_flash_part[] = { }; static const struct flash_platform_data spi_flash_data = { - .name = "m25p80", .parts = spi_flash_part, .nr_parts = ARRAY_SIZE(spi_flash_part), .type = "s25fl512s", diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c index e1d8215..3575731 100644 --- a/arch/arm/mach-shmobile/board-lager.c +++ b/arch/arm/mach-shmobile/board-lager.c @@ -315,7 +315,6 @@ static struct mtd_partition spi_flash_part[] = { }; static const struct flash_platform_data spi_flash_data = { - .name = "m25p80", .parts = spi_flash_part, .nr_parts = ARRAY_SIZE(spi_flash_part), .type = "s25fl512s", diff --git a/arch/arm/mach-w90x900/dev.c b/arch/arm/mach-w90x900/dev.c index e65a80a..9745a73 100644 --- a/arch/arm/mach-w90x900/dev.c +++ b/arch/arm/mach-w90x900/dev.c @@ -249,7 +249,6 @@ static struct mtd_partition nuc900_spi_flash_partitions[] = { }; static struct flash_platform_data nuc900_spi_flash_data = { - .name = "m25p80", .parts = nuc900_spi_flash_partitions, .nr_parts = ARRAY_SIZE(nuc900_spi_flash_partitions), .type = "w25x16",