mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
gpu: drm: panel: 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
a58a3b9b04
commit
b24347c714
@ -708,7 +708,6 @@ static void panel_simple_platform_shutdown(struct platform_device *pdev)
|
|||||||
static struct platform_driver panel_simple_platform_driver = {
|
static struct platform_driver panel_simple_platform_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "panel-simple",
|
.name = "panel-simple",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = platform_of_match,
|
.of_match_table = platform_of_match,
|
||||||
},
|
},
|
||||||
.probe = panel_simple_platform_probe,
|
.probe = panel_simple_platform_probe,
|
||||||
|
Loading…
Reference in New Issue
Block a user