diff options
author | Michal Simek | 2014-08-13 13:59:50 +0200 |
---|---|---|
committer | Jens Axboe | 2014-08-21 20:37:54 -0500 |
commit | ffb5db73ebe9b5c37fd741e1684833dd674372bd (patch) | |
tree | bcac9c4a0804a08df70d9e374895084fbf38c3f5 /drivers | |
parent | cddd5d17642cc6881352732693c2ae6930e9ce65 (diff) |
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')
-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, }, |