From: Colin Ian King <colin.i.king@gmail.com> To: Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, u.kleine-koenig@pengutronix.de, Mark Brown <broonie@kernel.org>, linux-mtd@lists.infradead.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mtd: dataflash: Remove duplicated id table Date: Tue, 4 Oct 2022 22:14:12 +0100 [thread overview] Message-ID: <20221004211412.182940-1-colin.i.king@gmail.com> (raw) A previous change added a new id table but failed to remove the original assignment to .id_table. Remove the original to clean up a clang scan build warning: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] Fixes: ac4f83482afb ("mtd: dataflash: Add SPI ID table") Signed-off-by: Colin Ian King <colin.i.king@gmail.com> --- drivers/mtd/devices/mtd_dataflash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 25bad4318305..c6d25331e00c 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c @@ -939,7 +939,6 @@ static struct spi_driver dataflash_driver = { .name = "mtd_dataflash", .of_match_table = of_match_ptr(dataflash_dt_ids), }, - .id_table = dataflash_dev_ids, .probe = dataflash_probe, .remove = dataflash_remove, -- 2.37.2
WARNING: multiple messages have this Message-ID (diff)
From: Colin Ian King <colin.i.king@gmail.com> To: Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, u.kleine-koenig@pengutronix.de, Mark Brown <broonie@kernel.org>, linux-mtd@lists.infradead.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mtd: dataflash: Remove duplicated id table Date: Tue, 4 Oct 2022 22:14:12 +0100 [thread overview] Message-ID: <20221004211412.182940-1-colin.i.king@gmail.com> (raw) A previous change added a new id table but failed to remove the original assignment to .id_table. Remove the original to clean up a clang scan build warning: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] Fixes: ac4f83482afb ("mtd: dataflash: Add SPI ID table") Signed-off-by: Colin Ian King <colin.i.king@gmail.com> --- drivers/mtd/devices/mtd_dataflash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 25bad4318305..c6d25331e00c 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c @@ -939,7 +939,6 @@ static struct spi_driver dataflash_driver = { .name = "mtd_dataflash", .of_match_table = of_match_ptr(dataflash_dt_ids), }, - .id_table = dataflash_dev_ids, .probe = dataflash_probe, .remove = dataflash_remove, -- 2.37.2 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
next reply other threads:[~2022-10-04 21:14 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-10-04 21:14 Colin Ian King [this message] 2022-10-04 21:14 ` [PATCH] mtd: dataflash: Remove duplicated id table Colin Ian King 2022-10-04 23:29 ` kernel test robot 2022-10-04 23:29 ` kernel test robot 2022-10-05 5:05 ` kernel test robot 2022-10-05 5:05 ` kernel test robot
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221004211412.182940-1-colin.i.king@gmail.com \ --to=colin.i.king@gmail.com \ --cc=broonie@kernel.org \ --cc=kernel-janitors@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mtd@lists.infradead.org \ --cc=miquel.raynal@bootlin.com \ --cc=richard@nod.at \ --cc=u.kleine-koenig@pengutronix.de \ --cc=vigneshr@ti.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.