aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:11 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:11 -0400
commit6afa02fbf992620edbf6b1ef87d879cf45056094 (patch)
tree5f9504db73eb230e577ebf32b99cafc7e80f9c9b
parentfb5b11f6ce8016ffe3d1eaadb387d01f7fefc297 (diff)
net: ethernet: samsung: sxgbe: 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>
-rw-r--r--drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c
index b147d469a799..b37db0b0da72 100644
--- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c
+++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c
@@ -236,7 +236,6 @@ static struct platform_driver sxgbe_platform_driver = {
236 .remove = sxgbe_platform_remove, 236 .remove = sxgbe_platform_remove,
237 .driver = { 237 .driver = {
238 .name = SXGBE_RESOURCE_NAME, 238 .name = SXGBE_RESOURCE_NAME,
239 .owner = THIS_MODULE,
240 .pm = &sxgbe_platform_pm_ops, 239 .pm = &sxgbe_platform_pm_ops,
241 .of_match_table = of_match_ptr(sxgbe_dt_ids), 240 .of_match_table = of_match_ptr(sxgbe_dt_ids),
242 }, 241 },