net: Drop owner assignment from platform_driver
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
239aa55b94
commit
6979b9cf58
@@ -965,7 +965,6 @@ static struct platform_driver hip04_mac_driver = {
|
||||
.remove = hip04_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = hip04_mac_match,
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user