forked from Minki/linux
zorro: 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
fa21a580de
commit
467817edc5
@ -222,7 +222,6 @@ static int __init amiga_zorro_probe(struct platform_device *pdev)
|
|||||||
static struct platform_driver amiga_zorro_driver = {
|
static struct platform_driver amiga_zorro_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "amiga-zorro",
|
.name = "amiga-zorro",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user