]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/devices/mtd_dataflash.c
Merge remote-tracking branch 'spi/for-next'
[karo-tx-linux.git] / drivers / mtd / devices / mtd_dataflash.c
index df6f61137376c397fc05d3b9b658a8b6892addb5..e4a88715a844952b73a62bd5427af89b46935cd4 100644 (file)
@@ -648,7 +648,6 @@ static int add_dataflash_otp(struct spi_device *spi, char *name, int nr_pages,
        device->size = nr_pages * pagesize;
        device->erasesize = pagesize;
        device->writesize = pagesize;
-       device->owner = THIS_MODULE;
        device->type = MTD_DATAFLASH;
        device->flags = MTD_WRITEABLE;
        device->_erase = dataflash_erase;
@@ -911,7 +910,6 @@ static int dataflash_remove(struct spi_device *spi)
 static struct spi_driver dataflash_driver = {
        .driver = {
                .name           = "mtd_dataflash",
-               .owner          = THIS_MODULE,
                .of_match_table = of_match_ptr(dataflash_dt_ids),
        },