summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi-nor
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2015-11-20 17:38:33 -0800
committerBrian Norris <computersforpeace@gmail.com>2015-12-04 15:31:53 -0800
commit0f6d3f4097d2746925986af5e34b864c5f6b2682 (patch)
treeffbd3dabcc31efdaa1104e5175fc9dc81f91dc6c /drivers/mtd/spi-nor
parent2524534dbb2372a666f30e0da2f97cd7f0d7f76c (diff)
downloadop-kernel-dev-0f6d3f4097d2746925986af5e34b864c5f6b2682.zip
op-kernel-dev-0f6d3f4097d2746925986af5e34b864c5f6b2682.tar.gz
mtd: mtk-quadspi: drop unnecessary .owner assignment
As of commit 807f16d4db95 ("mtd: core: set some defaults when dev.parent is set"), the MTD core will set this for us. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Cc: Bayi Cheng <bayi.cheng@mediatek.com>
Diffstat (limited to 'drivers/mtd/spi-nor')
-rw-r--r--drivers/mtd/spi-nor/mtk-quadspi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/mtk-quadspi.c b/drivers/mtd/spi-nor/mtk-quadspi.c
index dd269650..e1dd9fd 100644
--- a/drivers/mtd/spi-nor/mtk-quadspi.c
+++ b/drivers/mtd/spi-nor/mtk-quadspi.c
@@ -390,7 +390,6 @@ static int __init mtk_nor_init(struct mt8173_nor *mt8173_nor,
nor->read_reg = mt8173_nor_read_reg;
nor->write = mt8173_nor_write;
nor->write_reg = mt8173_nor_write_reg;
- nor->mtd.owner = THIS_MODULE;
nor->mtd.name = "mtk_nor";
/* initialized with NULL */
ret = spi_nor_scan(nor, NULL, SPI_NOR_DUAL);
OpenPOWER on IntegriCloud