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

net: ethernet: broadcom: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

-2
-1
drivers/net/ethernet/broadcom/bcmsysport.c
··· 1954 1954 .remove = bcm_sysport_remove, 1955 1955 .driver = { 1956 1956 .name = "brcm-systemport", 1957 - .owner = THIS_MODULE, 1958 1957 .of_match_table = bcm_sysport_of_match, 1959 1958 .pm = &bcm_sysport_pm_ops, 1960 1959 },
-1
drivers/net/ethernet/broadcom/sb1250-mac.c
··· 2664 2664 .remove = __exit_p(sbmac_remove), 2665 2665 .driver = { 2666 2666 .name = sbmac_string, 2667 - .owner = THIS_MODULE, 2668 2667 }, 2669 2668 }; 2670 2669