platform: x86: 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:
@@ -581,7 +581,6 @@ static atomic_t sony_pf_users = ATOMIC_INIT(0);
|
||||
static struct platform_driver sony_pf_driver = {
|
||||
.driver = {
|
||||
.name = "sony-laptop",
|
||||
.owner = THIS_MODULE,
|
||||
}
|
||||
};
|
||||
static struct platform_device *sony_pf_device;
|
||||
|
Reference in New Issue
Block a user