mirror of https://gitee.com/openkylin/linux.git
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:
parent
c910367fed
commit
3aa5fed256
|
@ -262,7 +262,6 @@ static struct platform_driver hvc_opal_driver = {
|
|||
.remove = hvc_opal_remove,
|
||||
.driver = {
|
||||
.name = hvc_opal_name,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = hvc_opal_match,
|
||||
}
|
||||
};
|
||||
|
|
|
@ -178,7 +178,6 @@ static struct platform_driver hvc_tile_driver = {
|
|||
.shutdown = hvc_tile_shutdown,
|
||||
.driver = {
|
||||
.name = "hvc-tile",
|
||||
.owner = THIS_MODULE,
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue