[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1617765.HVoytVeEL0@localhost.localdomain>
Date: Mon, 13 Jan 2020 10:10:27 +0000
From: <Tudor.Ambarus@...rochip.com>
To: <michael@...le.cc>
CC: <linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<miquel.raynal@...tlin.com>, <richard@....at>, <vigneshr@...com>,
<computersforpeace@...il.com>
Subject: Re: [PATCH 2/2] mtd: spi-nor: fix locking argument in
spi_nor_is_locked()
Hi, Michael,
On Wednesday, January 8, 2020 12:23:17 AM EET Michael Walle wrote:
> diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h
> index b661fd948a25..a8fcb1d70510 100644
> --- a/include/linux/mtd/spi-nor.h
> +++ b/include/linux/mtd/spi-nor.h
> @@ -235,6 +235,7 @@ enum spi_nor_ops {
> SPI_NOR_OPS_ERASE,
> SPI_NOR_OPS_LOCK,
> SPI_NOR_OPS_UNLOCK,
> + SPI_NOR_OPS_IS_LOCKED,
> };
There is no NOR controller that uses this enum, can we get rid of it?
Cheers,
ta
Powered by blists - more mailing lists