diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-08-13 13:54:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-14 14:38:54 -0700 |
commit | fdd42e4400fcb5fe837a20a8d837ef094d5a26fb (patch) | |
tree | 1025b7fa6046590a4f0ccd897f574b50f324a342 /drivers/net/ethernet/xilinx/xilinx_emaclite.c | |
parent | 5e3c516b512c0f8f18359413b04918f6347f67e7 (diff) | |
download | op-kernel-dev-fdd42e4400fcb5fe837a20a8d837ef094d5a26fb.zip op-kernel-dev-fdd42e4400fcb5fe837a20a8d837ef094d5a26fb.tar.gz |
net: xilinx: 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/xilinx/xilinx_emaclite.c')
-rw-r--r-- | drivers/net/ethernet/xilinx/xilinx_emaclite.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c index 782bb93..28dbbdc 100644 --- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c +++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c @@ -1245,7 +1245,6 @@ MODULE_DEVICE_TABLE(of, xemaclite_of_match); static struct platform_driver xemaclite_of_driver = { .driver = { .name = DRIVER_NAME, - .owner = THIS_MODULE, .of_match_table = xemaclite_of_match, }, .probe = xemaclite_of_probe, |