pwm: 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:
Wolfram Sang 2014-10-20 16:21:28 +02:00
parent da2612af00
commit f05fae14a1
19 changed files with 0 additions and 19 deletions

View File

@ -131,7 +131,6 @@ static int ab8500_pwm_remove(struct platform_device *pdev)
static struct platform_driver ab8500_pwm_driver = { static struct platform_driver ab8500_pwm_driver = {
.driver = { .driver = {
.name = "ab8500-pwm", .name = "ab8500-pwm",
.owner = THIS_MODULE,
}, },
.probe = ab8500_pwm_probe, .probe = ab8500_pwm_probe,
.remove = ab8500_pwm_remove, .remove = ab8500_pwm_remove,

View File

@ -436,7 +436,6 @@ MODULE_DEVICE_TABLE(of, atmel_tcb_pwm_dt_ids);
static struct platform_driver atmel_tcb_pwm_driver = { static struct platform_driver atmel_tcb_pwm_driver = {
.driver = { .driver = {
.name = "atmel-tcb-pwm", .name = "atmel-tcb-pwm",
.owner = THIS_MODULE,
.of_match_table = atmel_tcb_pwm_dt_ids, .of_match_table = atmel_tcb_pwm_dt_ids,
}, },
.probe = atmel_tcb_pwm_probe, .probe = atmel_tcb_pwm_probe,

View File

@ -149,7 +149,6 @@ static int bfin_pwm_remove(struct platform_device *pdev)
static struct platform_driver bfin_pwm_driver = { static struct platform_driver bfin_pwm_driver = {
.driver = { .driver = {
.name = "bfin-pwm", .name = "bfin-pwm",
.owner = THIS_MODULE,
}, },
.probe = bfin_pwm_probe, .probe = bfin_pwm_probe,
.remove = bfin_pwm_remove, .remove = bfin_pwm_remove,

View File

@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(of, clps711x_pwm_dt_ids);
static struct platform_driver clps711x_pwm_driver = { static struct platform_driver clps711x_pwm_driver = {
.driver = { .driver = {
.name = "clps711x-pwm", .name = "clps711x-pwm",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(clps711x_pwm_dt_ids), .of_match_table = of_match_ptr(clps711x_pwm_dt_ids),
}, },
.probe = clps711x_pwm_probe, .probe = clps711x_pwm_probe,

View File

@ -295,7 +295,6 @@ static int imx_pwm_remove(struct platform_device *pdev)
static struct platform_driver imx_pwm_driver = { static struct platform_driver imx_pwm_driver = {
.driver = { .driver = {
.name = "imx-pwm", .name = "imx-pwm",
.owner = THIS_MODULE,
.of_match_table = imx_pwm_dt_ids, .of_match_table = imx_pwm_dt_ids,
}, },
.probe = imx_pwm_probe, .probe = imx_pwm_probe,

View File

@ -194,7 +194,6 @@ static int jz4740_pwm_remove(struct platform_device *pdev)
static struct platform_driver jz4740_pwm_driver = { static struct platform_driver jz4740_pwm_driver = {
.driver = { .driver = {
.name = "jz4740-pwm", .name = "jz4740-pwm",
.owner = THIS_MODULE,
}, },
.probe = jz4740_pwm_probe, .probe = jz4740_pwm_probe,
.remove = jz4740_pwm_remove, .remove = jz4740_pwm_remove,

View File

@ -305,7 +305,6 @@ static struct platform_driver lp3943_pwm_driver = {
.remove = lp3943_pwm_remove, .remove = lp3943_pwm_remove,
.driver = { .driver = {
.name = "lp3943-pwm", .name = "lp3943-pwm",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(lp3943_pwm_of_match), .of_match_table = of_match_ptr(lp3943_pwm_of_match),
}, },
}; };

View File

@ -168,7 +168,6 @@ MODULE_DEVICE_TABLE(of, lpc32xx_pwm_dt_ids);
static struct platform_driver lpc32xx_pwm_driver = { static struct platform_driver lpc32xx_pwm_driver = {
.driver = { .driver = {
.name = "lpc32xx-pwm", .name = "lpc32xx-pwm",
.owner = THIS_MODULE,
.of_match_table = lpc32xx_pwm_dt_ids, .of_match_table = lpc32xx_pwm_dt_ids,
}, },
.probe = lpc32xx_pwm_probe, .probe = lpc32xx_pwm_probe,

View File

@ -189,7 +189,6 @@ MODULE_DEVICE_TABLE(of, mxs_pwm_dt_ids);
static struct platform_driver mxs_pwm_driver = { static struct platform_driver mxs_pwm_driver = {
.driver = { .driver = {
.name = "mxs-pwm", .name = "mxs-pwm",
.owner = THIS_MODULE,
.of_match_table = mxs_pwm_dt_ids, .of_match_table = mxs_pwm_dt_ids,
}, },
.probe = mxs_pwm_probe, .probe = mxs_pwm_probe,

View File

@ -146,7 +146,6 @@ static int pwm_remove(struct platform_device *pdev)
static struct platform_driver puv3_pwm_driver = { static struct platform_driver puv3_pwm_driver = {
.driver = { .driver = {
.name = "PKUnity-v3-PWM", .name = "PKUnity-v3-PWM",
.owner = THIS_MODULE,
}, },
.probe = pwm_probe, .probe = pwm_probe,
.remove = pwm_remove, .remove = pwm_remove,

View File

@ -225,7 +225,6 @@ static int pwm_remove(struct platform_device *pdev)
static struct platform_driver pwm_driver = { static struct platform_driver pwm_driver = {
.driver = { .driver = {
.name = "pxa25x-pwm", .name = "pxa25x-pwm",
.owner = THIS_MODULE,
.of_match_table = pwm_of_match, .of_match_table = pwm_of_match,
}, },
.probe = pwm_probe, .probe = pwm_probe,

View File

@ -468,7 +468,6 @@ static struct platform_driver tpu_driver = {
.remove = tpu_remove, .remove = tpu_remove,
.driver = { .driver = {
.name = "renesas-tpu-pwm", .name = "renesas-tpu-pwm",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(tpu_of_table), .of_match_table = of_match_ptr(tpu_of_table),
} }
}; };

View File

@ -601,7 +601,6 @@ static SIMPLE_DEV_PM_OPS(pwm_samsung_pm_ops, pwm_samsung_suspend,
static struct platform_driver pwm_samsung_driver = { static struct platform_driver pwm_samsung_driver = {
.driver = { .driver = {
.name = "samsung-pwm", .name = "samsung-pwm",
.owner = THIS_MODULE,
.pm = &pwm_samsung_pm_ops, .pm = &pwm_samsung_pm_ops,
.of_match_table = of_match_ptr(samsung_pwm_matches), .of_match_table = of_match_ptr(samsung_pwm_matches),
}, },

View File

@ -252,7 +252,6 @@ MODULE_DEVICE_TABLE(of, spear_pwm_of_match);
static struct platform_driver spear_pwm_driver = { static struct platform_driver spear_pwm_driver = {
.driver = { .driver = {
.name = "spear-pwm", .name = "spear-pwm",
.owner = THIS_MODULE,
.of_match_table = spear_pwm_of_match, .of_match_table = spear_pwm_of_match,
}, },
.probe = spear_pwm_probe, .probe = spear_pwm_probe,

View File

@ -237,7 +237,6 @@ MODULE_DEVICE_TABLE(of, tegra_pwm_of_match);
static struct platform_driver tegra_pwm_driver = { static struct platform_driver tegra_pwm_driver = {
.driver = { .driver = {
.name = "tegra-pwm", .name = "tegra-pwm",
.owner = THIS_MODULE,
.of_match_table = tegra_pwm_of_match, .of_match_table = tegra_pwm_of_match,
}, },
.probe = tegra_pwm_probe, .probe = tegra_pwm_probe,

View File

@ -331,7 +331,6 @@ static SIMPLE_DEV_PM_OPS(ecap_pwm_pm_ops, ecap_pwm_suspend, ecap_pwm_resume);
static struct platform_driver ecap_pwm_driver = { static struct platform_driver ecap_pwm_driver = {
.driver = { .driver = {
.name = "ecap", .name = "ecap",
.owner = THIS_MODULE,
.of_match_table = ecap_of_match, .of_match_table = ecap_of_match,
.pm = &ecap_pwm_pm_ops, .pm = &ecap_pwm_pm_ops,
}, },

View File

@ -599,7 +599,6 @@ static SIMPLE_DEV_PM_OPS(ehrpwm_pwm_pm_ops, ehrpwm_pwm_suspend,
static struct platform_driver ehrpwm_pwm_driver = { static struct platform_driver ehrpwm_pwm_driver = {
.driver = { .driver = {
.name = "ehrpwm", .name = "ehrpwm",
.owner = THIS_MODULE,
.of_match_table = ehrpwm_of_match, .of_match_table = ehrpwm_of_match,
.pm = &ehrpwm_pwm_pm_ops, .pm = &ehrpwm_pwm_pm_ops,
}, },

View File

@ -119,7 +119,6 @@ static SIMPLE_DEV_PM_OPS(pwmss_pm_ops, pwmss_suspend, pwmss_resume);
static struct platform_driver pwmss_driver = { static struct platform_driver pwmss_driver = {
.driver = { .driver = {
.name = "pwmss", .name = "pwmss",
.owner = THIS_MODULE,
.pm = &pwmss_pm_ops, .pm = &pwmss_pm_ops,
.of_match_table = pwmss_of_match, .of_match_table = pwmss_of_match,
}, },

View File

@ -266,7 +266,6 @@ static struct platform_driver vt8500_pwm_driver = {
.remove = vt8500_pwm_remove, .remove = vt8500_pwm_remove,
.driver = { .driver = {
.name = "vt8500-pwm", .name = "vt8500-pwm",
.owner = THIS_MODULE,
.of_match_table = vt8500_pwm_dt_ids, .of_match_table = vt8500_pwm_dt_ids,
}, },
}; };