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

Commit 33db744a authored by Wolfram Sang's avatar Wolfram Sang
Browse files

ASoC: sirf: 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 f2006800
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -74,7 +74,6 @@ MODULE_DEVICE_TABLE(of, sirf_audio_port_of_match);
static struct platform_driver sirf_audio_port_driver = {
static struct platform_driver sirf_audio_port_driver = {
	.driver = {
	.driver = {
		.name = "sirf-audio-port",
		.name = "sirf-audio-port",
		.owner = THIS_MODULE,
		.of_match_table = sirf_audio_port_of_match,
		.of_match_table = sirf_audio_port_of_match,
	},
	},
	.probe = sirf_audio_port_probe,
	.probe = sirf_audio_port_probe,
+0 −1
Original line number Original line Diff line number Diff line
@@ -143,7 +143,6 @@ MODULE_DEVICE_TABLE(of, sirf_audio_of_match);
static struct platform_driver sirf_audio_driver = {
static struct platform_driver sirf_audio_driver = {
	.driver = {
	.driver = {
		.name = "sirf-audio-card",
		.name = "sirf-audio-card",
		.owner = THIS_MODULE,
		.pm = &snd_soc_pm_ops,
		.pm = &snd_soc_pm_ops,
		.of_match_table = sirf_audio_of_match,
		.of_match_table = sirf_audio_of_match,
	},
	},
+0 −1
Original line number Original line Diff line number Diff line
@@ -422,7 +422,6 @@ static const struct dev_pm_ops sirf_usp_pcm_pm_ops = {
static struct platform_driver sirf_usp_pcm_driver = {
static struct platform_driver sirf_usp_pcm_driver = {
	.driver = {
	.driver = {
		.name = "sirf-usp-pcm",
		.name = "sirf-usp-pcm",
		.owner = THIS_MODULE,
		.of_match_table = sirf_usp_pcm_of_match,
		.of_match_table = sirf_usp_pcm_of_match,
		.pm = &sirf_usp_pcm_pm_ops,
		.pm = &sirf_usp_pcm_pm_ops,
	},
	},