tty: hvc: 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:
@@ -262,7 +262,6 @@ static struct platform_driver hvc_opal_driver = {
|
|||||||
.remove = hvc_opal_remove,
|
.remove = hvc_opal_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = hvc_opal_name,
|
.name = hvc_opal_name,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = hvc_opal_match,
|
.of_match_table = hvc_opal_match,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@@ -178,7 +178,6 @@ static struct platform_driver hvc_tile_driver = {
|
|||||||
.shutdown = hvc_tile_shutdown,
|
.shutdown = hvc_tile_shutdown,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "hvc-tile",
|
.name = "hvc-tile",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user