Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Michal Simek and committed by
Jens Axboe
ffb5db73 cddd5d17

-1
-1
drivers/block/xsysace.c
··· 1203 1203 .probe = ace_probe, 1204 1204 .remove = ace_remove, 1205 1205 .driver = { 1206 - .owner = THIS_MODULE, 1207 1206 .name = "xsysace", 1208 1207 .of_match_table = ace_of_match, 1209 1208 },