char: hw_random: 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:
parent
06861ab52b
commit
eff54802fe
|
@ -128,7 +128,6 @@ static struct platform_driver atmel_trng_driver = {
|
|||
.remove = atmel_trng_remove,
|
||||
.driver = {
|
||||
.name = "atmel-trng",
|
||||
.owner = THIS_MODULE,
|
||||
#ifdef CONFIG_PM
|
||||
.pm = &atmel_trng_pm_ops,
|
||||
#endif /* CONFIG_PM */
|
||||
|
|
|
@ -99,7 +99,6 @@ MODULE_DEVICE_TABLE(of, bcm2835_rng_of_match);
|
|||
static struct platform_driver bcm2835_rng_driver = {
|
||||
.driver = {
|
||||
.name = "bcm2835-rng",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = bcm2835_rng_of_match,
|
||||
},
|
||||
.probe = bcm2835_rng_probe,
|
||||
|
|
|
@ -162,7 +162,6 @@ static struct platform_driver bcm63xx_rng_driver = {
|
|||
.remove = bcm63xx_rng_remove,
|
||||
.driver = {
|
||||
.name = "bcm63xx-rng",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -169,7 +169,6 @@ static UNIVERSAL_DEV_PM_OPS(exynos_rng_pm_ops, exynos_rng_runtime_suspend,
|
|||
static struct platform_driver exynos_rng_driver = {
|
||||
.driver = {
|
||||
.name = "exynos-rng",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &exynos_rng_pm_ops,
|
||||
},
|
||||
.probe = exynos_rng_probe,
|
||||
|
|
|
@ -185,7 +185,6 @@ static struct platform_driver msm_rng_driver = {
|
|||
.remove = msm_rng_remove,
|
||||
.driver = {
|
||||
.name = KBUILD_MODNAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(msm_rng_of_match),
|
||||
}
|
||||
};
|
||||
|
|
|
@ -206,7 +206,6 @@ static int __exit mxc_rnga_remove(struct platform_device *pdev)
|
|||
static struct platform_driver mxc_rnga_driver = {
|
||||
.driver = {
|
||||
.name = "mxc_rnga",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = __exit_p(mxc_rnga_remove),
|
||||
};
|
||||
|
|
|
@ -750,7 +750,6 @@ MODULE_DEVICE_TABLE(of, n2rng_match);
|
|||
static struct platform_driver n2rng_driver = {
|
||||
.driver = {
|
||||
.name = "n2rng",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = n2rng_match,
|
||||
},
|
||||
.probe = n2rng_probe,
|
||||
|
|
|
@ -117,7 +117,6 @@ static int __exit octeon_rng_remove(struct platform_device *pdev)
|
|||
static struct platform_driver octeon_rng_driver = {
|
||||
.driver = {
|
||||
.name = "octeon_rng",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = octeon_rng_probe,
|
||||
.remove = __exit_p(octeon_rng_remove),
|
||||
|
|
|
@ -456,7 +456,6 @@ static SIMPLE_DEV_PM_OPS(omap_rng_pm, omap_rng_suspend, omap_rng_resume);
|
|||
static struct platform_driver omap_rng_driver = {
|
||||
.driver = {
|
||||
.name = "omap_rng",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = OMAP_RNG_PM,
|
||||
.of_match_table = of_match_ptr(omap_rng_of_match),
|
||||
},
|
||||
|
|
|
@ -126,7 +126,6 @@ static int omap3_rom_rng_remove(struct platform_device *pdev)
|
|||
static struct platform_driver omap3_rom_rng_driver = {
|
||||
.driver = {
|
||||
.name = "omap3-rom-rng",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = omap3_rom_rng_probe,
|
||||
.remove = omap3_rom_rng_remove,
|
||||
|
|
|
@ -142,7 +142,6 @@ static struct of_device_id rng_match[] = {
|
|||
static struct platform_driver rng_driver = {
|
||||
.driver = {
|
||||
.name = "pasemi-rng",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = rng_match,
|
||||
},
|
||||
.probe = rng_probe,
|
||||
|
|
|
@ -133,7 +133,6 @@ static struct of_device_id ppc4xx_rng_match[] = {
|
|||
static struct platform_driver ppc4xx_rng_driver = {
|
||||
.driver = {
|
||||
.name = MODULE_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = ppc4xx_rng_match,
|
||||
},
|
||||
.probe = ppc4xx_rng_probe,
|
||||
|
|
|
@ -200,7 +200,6 @@ MODULE_DEVICE_TABLE(of, timeriomem_rng_match);
|
|||
static struct platform_driver timeriomem_rng_driver = {
|
||||
.driver = {
|
||||
.name = "timeriomem_rng",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = timeriomem_rng_match,
|
||||
},
|
||||
.probe = timeriomem_rng_probe,
|
||||
|
|
|
@ -158,7 +158,6 @@ static int __exit tx4939_rng_remove(struct platform_device *dev)
|
|||
static struct platform_driver tx4939_rng_driver = {
|
||||
.driver = {
|
||||
.name = "tx4939-rng",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = tx4939_rng_remove,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue