mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
parport: 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
47fc34ffd9
commit
2422f7e4d1
@ -239,7 +239,6 @@ static struct platform_driver amiga_parallel_driver = {
|
|||||||
.remove = __exit_p(amiga_parallel_remove),
|
.remove = __exit_p(amiga_parallel_remove),
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "amiga-parallel",
|
.name = "amiga-parallel",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -412,7 +412,6 @@ MODULE_ALIAS("platform:ax88796-pp");
|
|||||||
static struct platform_driver axdrv = {
|
static struct platform_driver axdrv = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "ax88796-pp",
|
.name = "ax88796-pp",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = parport_ax88796_probe,
|
.probe = parport_ax88796_probe,
|
||||||
.remove = parport_ax88796_remove,
|
.remove = parport_ax88796_remove,
|
||||||
|
@ -3011,7 +3011,6 @@ static int parport_pc_platform_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
static struct platform_driver parport_pc_platform_driver = {
|
static struct platform_driver parport_pc_platform_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.name = "parport_pc",
|
.name = "parport_pc",
|
||||||
},
|
},
|
||||||
.probe = parport_pc_platform_probe,
|
.probe = parport_pc_platform_probe,
|
||||||
|
@ -362,7 +362,6 @@ MODULE_DEVICE_TABLE(of, bpp_match);
|
|||||||
static struct platform_driver bpp_sbus_driver = {
|
static struct platform_driver bpp_sbus_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bpp",
|
.name = "bpp",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = bpp_match,
|
.of_match_table = bpp_match,
|
||||||
},
|
},
|
||||||
.probe = bpp_probe,
|
.probe = bpp_probe,
|
||||||
|
Loading…
Reference in New Issue
Block a user