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:
@@ -972,7 +972,6 @@ static void tpacpi_shutdown_handler(struct platform_device *pdev)
|
||||
static struct platform_driver tpacpi_pdriver = {
|
||||
.driver = {
|
||||
.name = TPACPI_DRVR_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &tpacpi_pm,
|
||||
},
|
||||
.shutdown = tpacpi_shutdown_handler,
|
||||
@@ -981,7 +980,6 @@ static struct platform_driver tpacpi_pdriver = {
|
||||
static struct platform_driver tpacpi_hwmon_pdriver = {
|
||||
.driver = {
|
||||
.name = TPACPI_HWMON_DRVR_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user