Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d34135b4 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

ASoC: omap: 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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 9a600224
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -599,7 +599,6 @@ static int ams_delta_remove(struct platform_device *pdev)
static struct platform_driver ams_delta_driver = {
	.driver = {
		.name = DRV_NAME,
		.owner = THIS_MODULE,
	},
	.probe = ams_delta_probe,
	.remove = ams_delta_remove,
+0 −1
Original line number Diff line number Diff line
@@ -354,7 +354,6 @@ MODULE_DEVICE_TABLE(of, omap_abe_of_match);
static struct platform_driver omap_abe_driver = {
	.driver = {
		.name = "omap-abe-twl6040",
		.owner = THIS_MODULE,
		.pm = &snd_soc_pm_ops,
		.of_match_table = omap_abe_of_match,
	},
+0 −1
Original line number Diff line number Diff line
@@ -509,7 +509,6 @@ MODULE_DEVICE_TABLE(of, omap_dmic_of_match);
static struct platform_driver asoc_dmic_driver = {
	.driver = {
		.name = "omap-dmic",
		.owner = THIS_MODULE,
		.of_match_table = omap_dmic_of_match,
	},
	.probe = asoc_dmic_probe,
+0 −1
Original line number Diff line number Diff line
@@ -73,7 +73,6 @@ static int omap_hdmi_remove(struct platform_device *pdev)
static struct platform_driver omap_hdmi_driver = {
	.driver = {
		.name = DRV_NAME,
		.owner = THIS_MODULE,
	},
	.probe = omap_hdmi_probe,
	.remove = omap_hdmi_remove,
+0 −1
Original line number Diff line number Diff line
@@ -349,7 +349,6 @@ static int omap_hdmi_remove(struct platform_device *pdev)
static struct platform_driver hdmi_dai_driver = {
	.driver = {
		.name = DRV_NAME,
		.owner = THIS_MODULE,
	},
	.probe = omap_hdmi_probe,
	.remove = omap_hdmi_remove,
Loading