Skip to content

Commit ffb5db7

Browse files
Michal Simekaxboe
authored andcommitted
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>
1 parent cddd5d1 commit ffb5db7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/block/xsysace.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,6 @@ static struct platform_driver ace_platform_driver = {
12031203
.probe = ace_probe,
12041204
.remove = ace_remove,
12051205
.driver = {
1206-
.owner = THIS_MODULE,
12071206
.name = "xsysace",
12081207
.of_match_table = ace_of_match,
12091208
},

0 commit comments

Comments
 (0)