net: ethernet: micrel: 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>
This commit is contained in:
parent
7a53834e6e
commit
f1535688c2
|
@ -1612,7 +1612,6 @@ ks8695_drv_remove(struct platform_device *pdev)
|
|||
static struct platform_driver ks8695_driver = {
|
||||
.driver = {
|
||||
.name = MODULENAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ks8695_probe,
|
||||
.remove = ks8695_drv_remove,
|
||||
|
|
|
@ -1255,7 +1255,6 @@ static int ks8842_remove(struct platform_device *pdev)
|
|||
static struct platform_driver ks8842_platform_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ks8842_probe,
|
||||
.remove = ks8842_remove,
|
||||
|
|
|
@ -1679,7 +1679,6 @@ static int ks8851_remove(struct platform_device *pdev)
|
|||
static struct platform_driver ks8851_platform_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(ks8851_ml_dt_ids),
|
||||
},
|
||||
.probe = ks8851_probe,
|
||||
|
|
Loading…
Reference in New Issue