From: Wolfram Sang Date: Mon, 20 Oct 2014 14:21:41 +0000 (+0200) Subject: staging: nvec: drop owner assignment from platform_drivers X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d5dbc0245a7da65b95fc14f99ccfc5f1fad078f0;p=linux-beck.git staging: nvec: 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 --- diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index a93208adbfcf..093535c6217b 100644 --- a/drivers/staging/nvec/nvec.c +++ b/drivers/staging/nvec/nvec.c @@ -973,7 +973,6 @@ static struct platform_driver nvec_device_driver = { .remove = tegra_nvec_remove, .driver = { .name = "nvec", - .owner = THIS_MODULE, .pm = &nvec_pm_ops, .of_match_table = nvidia_nvec_of_match, } diff --git a/drivers/staging/nvec/nvec_kbd.c b/drivers/staging/nvec/nvec_kbd.c index c17a1c3eb3ca..e881e6b26a4c 100644 --- a/drivers/staging/nvec/nvec_kbd.c +++ b/drivers/staging/nvec/nvec_kbd.c @@ -181,7 +181,6 @@ static struct platform_driver nvec_kbd_driver = { .remove = nvec_kbd_remove, .driver = { .name = "nvec-kbd", - .owner = THIS_MODULE, }, }; diff --git a/drivers/staging/nvec/nvec_paz00.c b/drivers/staging/nvec/nvec_paz00.c index e2e675a6e95a..f0cea0e43c96 100644 --- a/drivers/staging/nvec/nvec_paz00.c +++ b/drivers/staging/nvec/nvec_paz00.c @@ -87,7 +87,6 @@ static struct platform_driver nvec_paz00_driver = { .remove = nvec_paz00_remove, .driver = { .name = "nvec-paz00", - .owner = THIS_MODULE, }, }; diff --git a/drivers/staging/nvec/nvec_power.c b/drivers/staging/nvec/nvec_power.c index 6446e151866f..6a1459d4f8fb 100644 --- a/drivers/staging/nvec/nvec_power.c +++ b/drivers/staging/nvec/nvec_power.c @@ -432,7 +432,6 @@ static struct platform_driver nvec_power_driver = { .remove = nvec_power_remove, .driver = { .name = "nvec-power", - .owner = THIS_MODULE, } }; diff --git a/drivers/staging/nvec/nvec_ps2.c b/drivers/staging/nvec/nvec_ps2.c index f56f1db15bad..4fd63c239454 100644 --- a/drivers/staging/nvec/nvec_ps2.c +++ b/drivers/staging/nvec/nvec_ps2.c @@ -177,7 +177,6 @@ static struct platform_driver nvec_mouse_driver = { .remove = nvec_mouse_remove, .driver = { .name = "nvec-mouse", - .owner = THIS_MODULE, .pm = &nvec_mouse_pm_ops, }, };