summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-08-13 11:59:50 (GMT)
committerJens Axboe <axboe@fb.com>2014-08-22 01:37:54 (GMT)
commitffb5db73ebe9b5c37fd741e1684833dd674372bd (patch)
treebcac9c4a0804a08df70d9e374895084fbf38c3f5 /drivers/block
parentcddd5d17642cc6881352732693c2ae6930e9ce65 (diff)
downloadlinux-ffb5db73ebe9b5c37fd741e1684833dd674372bd.tar.xz
block: systemace: Remove .owner field for driver
There is no need to init .owner field. Based on the patch from Peter Griffin <peter.griffin@linaro.org> "mmc: remove .owner field for drivers using module_platform_driver" This patch removes the superflous .owner field for drivers which use the module_platform_driver API, as this is overriden in platform_driver_register anyway." Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/xsysace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c
index ab3ea62..c4328d9 100644
--- a/drivers/block/xsysace.c
+++ b/drivers/block/xsysace.c
@@ -1203,7 +1203,6 @@ static struct platform_driver ace_platform_driver = {
.probe = ace_probe,
.remove = ace_remove,
.driver = {
- .owner = THIS_MODULE,
.name = "xsysace",
.of_match_table = ace_of_match,
},