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

Commit 57eea0f5 authored by Frans Klaver's avatar Frans Klaver Committed by Brian Norris
Browse files

mtd: devices: mtd_dataflash: drop owner assignment



Owner is automatically set by mtdcore. Make use of that.

Signed-off-by: default avatarFrans Klaver <fransklaver@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 1560d213
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;