diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-08-13 13:59:50 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-08-22 03:37:54 +0200 |
commit | ffb5db73ebe9b5c37fd741e1684833dd674372bd (patch) | |
tree | bcac9c4a0804a08df70d9e374895084fbf38c3f5 /drivers/block/xsysace.c | |
parent | blk-mq: blk_mq_freeze_queue() should allow nesting (diff) | |
download | linux-ffb5db73ebe9b5c37fd741e1684833dd674372bd.tar.xz linux-ffb5db73ebe9b5c37fd741e1684833dd674372bd.zip |
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/xsysace.c')
-rw-r--r-- | drivers/block/xsysace.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c index ab3ea62e5dfc..c4328d9d9981 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, }, |