mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-09 18:36:39 +07:00
mtd: mtk-quadspi: drop unnecessary .owner assignment
As of commit 807f16d4db
("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>
This commit is contained in:
parent
2524534dbb
commit
0f6d3f4097
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user