ASoC: adi: 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
ab31135e6e
commit
7af23bd9f3
|
@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, axi_i2s_of_match);
|
||||||
static struct platform_driver axi_i2s_driver = {
|
static struct platform_driver axi_i2s_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "axi-i2s",
|
.name = "axi-i2s",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = axi_i2s_of_match,
|
.of_match_table = axi_i2s_of_match,
|
||||||
},
|
},
|
||||||
.probe = axi_i2s_probe,
|
.probe = axi_i2s_probe,
|
||||||
|
|
|
@ -258,7 +258,6 @@ MODULE_DEVICE_TABLE(of, axi_spdif_of_match);
|
||||||
static struct platform_driver axi_spdif_driver = {
|
static struct platform_driver axi_spdif_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "axi-spdif",
|
.name = "axi-spdif",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = axi_spdif_of_match,
|
.of_match_table = axi_spdif_of_match,
|
||||||
},
|
},
|
||||||
.probe = axi_spdif_probe,
|
.probe = axi_spdif_probe,
|
||||||
|
|
Loading…
Reference in a new issue