rtc: 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:31 +02:00
parent d373860d70
commit 0929ae376e
79 changed files with 0 additions and 79 deletions
-1
View File
@@ -352,7 +352,6 @@ static int pm80x_rtc_remove(struct platform_device *pdev)
static struct platform_driver pm80x_rtc_driver = { static struct platform_driver pm80x_rtc_driver = {
.driver = { .driver = {
.name = "88pm80x-rtc", .name = "88pm80x-rtc",
.owner = THIS_MODULE,
.pm = &pm80x_rtc_pm_ops, .pm = &pm80x_rtc_pm_ops,
}, },
.probe = pm80x_rtc_probe, .probe = pm80x_rtc_probe,
-1
View File
@@ -448,7 +448,6 @@ static SIMPLE_DEV_PM_OPS(pm860x_rtc_pm_ops, pm860x_rtc_suspend, pm860x_rtc_resum
static struct platform_driver pm860x_rtc_driver = { static struct platform_driver pm860x_rtc_driver = {
.driver = { .driver = {
.name = "88pm860x-rtc", .name = "88pm860x-rtc",
.owner = THIS_MODULE,
.pm = &pm860x_rtc_pm_ops, .pm = &pm860x_rtc_pm_ops,
}, },
.probe = pm860x_rtc_probe, .probe = pm860x_rtc_probe,
-1
View File
@@ -243,7 +243,6 @@ static int __init ab3100_rtc_probe(struct platform_device *pdev)
static struct platform_driver ab3100_rtc_driver = { static struct platform_driver ab3100_rtc_driver = {
.driver = { .driver = {
.name = "ab3100-rtc", .name = "ab3100-rtc",
.owner = THIS_MODULE,
}, },
}; };
-1
View File
@@ -517,7 +517,6 @@ static int ab8500_rtc_remove(struct platform_device *pdev)
static struct platform_driver ab8500_rtc_driver = { static struct platform_driver ab8500_rtc_driver = {
.driver = { .driver = {
.name = "ab8500-rtc", .name = "ab8500-rtc",
.owner = THIS_MODULE,
}, },
.probe = ab8500_rtc_probe, .probe = ab8500_rtc_probe,
.remove = ab8500_rtc_remove, .remove = ab8500_rtc_remove,
-1
View File
@@ -277,7 +277,6 @@ static struct platform_driver at32_rtc_driver = {
.remove = __exit_p(at32_rtc_remove), .remove = __exit_p(at32_rtc_remove),
.driver = { .driver = {
.name = "at32ap700x_rtc", .name = "at32ap700x_rtc",
.owner = THIS_MODULE,
}, },
}; };
-1
View File
@@ -491,7 +491,6 @@ static struct platform_driver at91_rtc_driver = {
.shutdown = at91_rtc_shutdown, .shutdown = at91_rtc_shutdown,
.driver = { .driver = {
.name = "at91_rtc", .name = "at91_rtc",
.owner = THIS_MODULE,
.pm = &at91_rtc_pm_ops, .pm = &at91_rtc_pm_ops,
.of_match_table = of_match_ptr(at91_rtc_dt_ids), .of_match_table = of_match_ptr(at91_rtc_dt_ids),
}, },
-1
View File
@@ -446,7 +446,6 @@ static struct platform_driver at91_rtc_driver = {
.shutdown = at91_rtc_shutdown, .shutdown = at91_rtc_shutdown,
.driver = { .driver = {
.name = "rtc-at91sam9", .name = "rtc-at91sam9",
.owner = THIS_MODULE,
.pm = &at91_rtc_pm_ops, .pm = &at91_rtc_pm_ops,
}, },
}; };
-1
View File
@@ -117,7 +117,6 @@ out_err:
static struct platform_driver au1xrtc_driver = { static struct platform_driver au1xrtc_driver = {
.driver = { .driver = {
.name = "rtc-au1xxx", .name = "rtc-au1xxx",
.owner = THIS_MODULE,
}, },
}; };
-1
View File
@@ -434,7 +434,6 @@ static SIMPLE_DEV_PM_OPS(bfin_rtc_pm_ops, bfin_rtc_suspend, bfin_rtc_resume);
static struct platform_driver bfin_rtc_driver = { static struct platform_driver bfin_rtc_driver = {
.driver = { .driver = {
.name = "rtc-bfin", .name = "rtc-bfin",
.owner = THIS_MODULE,
.pm = &bfin_rtc_pm_ops, .pm = &bfin_rtc_pm_ops,
}, },
.probe = bfin_rtc_probe, .probe = bfin_rtc_probe,
-1
View File
@@ -192,7 +192,6 @@ MODULE_ALIAS("platform:rtc-bq4802");
static struct platform_driver bq4802_driver = { static struct platform_driver bq4802_driver = {
.driver = { .driver = {
.name = "rtc-bq4802", .name = "rtc-bq4802",
.owner = THIS_MODULE,
}, },
.probe = bq4802_probe, .probe = bq4802_probe,
}; };
-1
View File
@@ -267,7 +267,6 @@ static const struct of_device_id coh901331_dt_match[] = {
static struct platform_driver coh901331_driver = { static struct platform_driver coh901331_driver = {
.driver = { .driver = {
.name = "rtc-coh901331", .name = "rtc-coh901331",
.owner = THIS_MODULE,
.pm = &coh901331_pm_ops, .pm = &coh901331_pm_ops,
.of_match_table = coh901331_dt_match, .of_match_table = coh901331_dt_match,
}, },
-1
View File
@@ -265,7 +265,6 @@ static struct platform_driver da9052_rtc_driver = {
.probe = da9052_rtc_probe, .probe = da9052_rtc_probe,
.driver = { .driver = {
.name = "da9052-rtc", .name = "da9052-rtc",
.owner = THIS_MODULE,
}, },
}; };
-1
View File
@@ -391,7 +391,6 @@ static struct platform_driver da9055_rtc_driver = {
.probe = da9055_rtc_probe, .probe = da9055_rtc_probe,
.driver = { .driver = {
.name = "da9055-rtc", .name = "da9055-rtc",
.owner = THIS_MODULE,
.pm = &da9055_rtc_pm_ops, .pm = &da9055_rtc_pm_ops,
}, },
}; };
-1
View File
@@ -341,7 +341,6 @@ static struct platform_driver da9063_rtc_driver = {
.probe = da9063_rtc_probe, .probe = da9063_rtc_probe,
.driver = { .driver = {
.name = DA9063_DRVNAME_RTC, .name = DA9063_DRVNAME_RTC,
.owner = THIS_MODULE,
}, },
}; };
-1
View File
@@ -550,7 +550,6 @@ static struct platform_driver davinci_rtc_driver = {
.remove = __exit_p(davinci_rtc_remove), .remove = __exit_p(davinci_rtc_remove),
.driver = { .driver = {
.name = "rtc_davinci", .name = "rtc_davinci",
.owner = THIS_MODULE,
}, },
}; };
-1
View File
@@ -146,7 +146,6 @@ static int dm355evm_rtc_probe(struct platform_device *pdev)
static struct platform_driver rtc_dm355evm_driver = { static struct platform_driver rtc_dm355evm_driver = {
.probe = dm355evm_rtc_probe, .probe = dm355evm_rtc_probe,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "rtc-dm355evm", .name = "rtc-dm355evm",
}, },
}; };
-1
View File
@@ -170,7 +170,6 @@ static int __init ds1216_rtc_probe(struct platform_device *pdev)
static struct platform_driver ds1216_rtc_platform_driver = { static struct platform_driver ds1216_rtc_platform_driver = {
.driver = { .driver = {
.name = "rtc-ds1216", .name = "rtc-ds1216",
.owner = THIS_MODULE,
}, },
}; };
-1
View File
@@ -356,7 +356,6 @@ static int ds1286_probe(struct platform_device *pdev)
static struct platform_driver ds1286_platform_driver = { static struct platform_driver ds1286_platform_driver = {
.driver = { .driver = {
.name = "rtc-ds1286", .name = "rtc-ds1286",
.owner = THIS_MODULE,
}, },
.probe = ds1286_probe, .probe = ds1286_probe,
}; };
-1
View File
@@ -244,7 +244,6 @@ static int __init ds1302_rtc_probe(struct platform_device *pdev)
static struct platform_driver ds1302_platform_driver = { static struct platform_driver ds1302_platform_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
}; };
-1
View File
@@ -561,7 +561,6 @@ static struct platform_driver ds1511_rtc_driver = {
.remove = ds1511_rtc_remove, .remove = ds1511_rtc_remove,
.driver = { .driver = {
.name = "ds1511", .name = "ds1511",
.owner = THIS_MODULE,
}, },
}; };

Some files were not shown because too many files have changed in this diff Show More