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: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
f20068009a
commit
33db744abe
@ -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,
|
||||||
|
@ -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,
|
||||||
},
|
},
|
||||||
|
@ -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,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user