Linux-mtd Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v2] mtd: st_spi_fsm: remove unused field from struct stfsm
@ 2019-10-01 10:05 Bartosz Golaszewski
  2019-10-08 17:25 ` Miquel Raynal
  0 siblings, 1 reply; 2+ messages in thread
From: Bartosz Golaszewski @ 2019-10-01 10:05 UTC (permalink / raw)
  To: David Woodhouse, Brian Norris, Marek Vasut, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra, Sergei Shtylyov
  Cc: Bartosz Golaszewski, linux-mtd, linux-kernel

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

The 'region' field in struct stfsm is unused and can be removed.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
v1 -> v2:
- fixed the commit message: it now says field instead of variable

 drivers/mtd/devices/st_spi_fsm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c
index f4d1667daaf9..1888523d9745 100644
--- a/drivers/mtd/devices/st_spi_fsm.c
+++ b/drivers/mtd/devices/st_spi_fsm.c
@@ -255,7 +255,6 @@ struct stfsm_seq {
 struct stfsm {
 	struct device		*dev;
 	void __iomem		*base;
-	struct resource		*region;
 	struct mtd_info		mtd;
 	struct mutex		lock;
 	struct flash_info       *info;
-- 
2.23.0


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] mtd: st_spi_fsm: remove unused field from struct stfsm
  2019-10-01 10:05 [PATCH v2] mtd: st_spi_fsm: remove unused field from struct stfsm Bartosz Golaszewski
@ 2019-10-08 17:25 ` Miquel Raynal
  0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2019-10-08 17:25 UTC (permalink / raw)
  To: Bartosz Golaszewski, David Woodhouse, Brian Norris, Marek Vasut,
	Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
	Sergei Shtylyov
  Cc: Bartosz Golaszewski, linux-mtd, linux-kernel

On Tue, 2019-10-01 at 10:05:10 UTC, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> 
> The 'region' field in struct stfsm is unused and can be removed.
> 
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01 10:05 [PATCH v2] mtd: st_spi_fsm: remove unused field from struct stfsm Bartosz Golaszewski
2019-10-08 17:25 ` Miquel Raynal

Linux-mtd Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mtd/0 linux-mtd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mtd linux-mtd/ https://lore.kernel.org/linux-mtd \
		linux-mtd@lists.infradead.org linux-mtd@archiver.kernel.org
	public-inbox-index linux-mtd

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-mtd


AGPL code for this site: git clone https://public-inbox.org/ public-inbox