mtd: m25p80: Remove unneeded m25p->command field

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

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
This commit is contained in:
Boris Brezillon 2018-06-01 12:03:24 +02:00
parent ce397d215c
commit 00a5762b45
1 changed files with 0 additions and 2 deletions

View File

@ -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)