git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: devices: mtd_dataflash: drop owner assignment
[sfrench/cifs-2.6.git]
/
drivers
/
mtd
/
devices
/
mtd_dataflash.c
diff --git
a/drivers/mtd/devices/mtd_dataflash.c
b/drivers/mtd/devices/mtd_dataflash.c
index df6f61137376c397fc05d3b9b658a8b6892addb5..39666d552682e9d607025f3d01ba0afd513dd260 100644
(file)
--- a/
drivers/mtd/devices/mtd_dataflash.c
+++ b/
drivers/mtd/devices/mtd_dataflash.c
@@
-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;