Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00a5762b authored by Boris Brezillon's avatar Boris Brezillon
Browse files

mtd: m25p80: Remove unneeded m25p->command field



The ->command field is no longer used, remove it.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Acked-by: default avatarMarek Vasut <marek.vasut@gmail.com>
parent ce397d21
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -28,11 +28,9 @@
#include <linux/spi/flash.h>
#include <linux/mtd/spi-nor.h>

#define	MAX_CMD_SIZE		6
struct m25p {
	struct spi_mem		*spimem;
	struct spi_nor		spi_nor;
	u8			command[MAX_CMD_SIZE];
};

static int m25p80_read_reg(struct spi_nor *nor, u8 code, u8 *val, int len)