mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +00:00
ASoC: drop driver owner assignment
Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>: Core for several drivers already sets the driver.owner, so driver does not need to. Simplify the drivers.
This commit is contained in:
commit
64f84dc49f
@ -872,7 +872,6 @@ MODULE_DEVICE_TABLE(sdw, max98373_id);
|
||||
static struct sdw_driver max98373_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "max98373",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(max98373_of_match),
|
||||
.acpi_match_table = ACPI_PTR(max98373_acpi_match),
|
||||
.pm = &max98373_pm,
|
||||
|
@ -809,7 +809,6 @@ static const struct dev_pm_ops rt1017_sdca_pm = {
|
||||
static struct sdw_driver rt1017_sdca_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt1017-sdca",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt1017_sdca_pm,
|
||||
},
|
||||
.probe = rt1017_sdca_sdw_probe,
|
||||
|
@ -804,7 +804,6 @@ static const struct dev_pm_ops rt1308_pm = {
|
||||
static struct sdw_driver rt1308_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt1308",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt1308_pm,
|
||||
},
|
||||
.probe = rt1308_sdw_probe,
|
||||
|
@ -781,7 +781,6 @@ static const struct dev_pm_ops rt1316_pm = {
|
||||
static struct sdw_driver rt1316_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt1316-sdca",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt1316_pm,
|
||||
},
|
||||
.probe = rt1316_sdw_probe,
|
||||
|
@ -855,7 +855,6 @@ static const struct dev_pm_ops rt1318_pm = {
|
||||
static struct sdw_driver rt1318_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt1318-sdca",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt1318_pm,
|
||||
},
|
||||
.probe = rt1318_sdw_probe,
|
||||
|
@ -798,7 +798,6 @@ static const struct dev_pm_ops rt5682_pm = {
|
||||
static struct sdw_driver rt5682_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt5682",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt5682_pm,
|
||||
},
|
||||
.probe = rt5682_sdw_probe,
|
||||
|
@ -558,7 +558,6 @@ static const struct dev_pm_ops rt700_pm = {
|
||||
static struct sdw_driver rt700_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt700",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt700_pm,
|
||||
},
|
||||
.probe = rt700_sdw_probe,
|
||||
|
@ -474,7 +474,6 @@ static const struct dev_pm_ops rt711_sdca_pm = {
|
||||
static struct sdw_driver rt711_sdca_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt711-sdca",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt711_sdca_pm,
|
||||
},
|
||||
.probe = rt711_sdca_sdw_probe,
|
||||
|
@ -569,7 +569,6 @@ static const struct dev_pm_ops rt711_pm = {
|
||||
static struct sdw_driver rt711_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt711",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt711_pm,
|
||||
},
|
||||
.probe = rt711_sdw_probe,
|
||||
|
@ -976,7 +976,6 @@ static int rt712_sdca_dmic_sdw_remove(struct sdw_slave *slave)
|
||||
static struct sdw_driver rt712_sdca_dmic_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt712-sdca-dmic",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt712_sdca_dmic_pm,
|
||||
},
|
||||
.probe = rt712_sdca_dmic_sdw_probe,
|
||||
|
@ -474,7 +474,6 @@ static const struct dev_pm_ops rt712_sdca_pm = {
|
||||
static struct sdw_driver rt712_sdca_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt712-sdca",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt712_sdca_pm,
|
||||
},
|
||||
.probe = rt712_sdca_sdw_probe,
|
||||
|
@ -270,7 +270,6 @@ static const struct dev_pm_ops rt715_pm = {
|
||||
static struct sdw_driver rt715_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt715-sdca",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt715_pm,
|
||||
},
|
||||
.probe = rt715_sdca_sdw_probe,
|
||||
|
@ -577,7 +577,6 @@ static const struct dev_pm_ops rt715_pm = {
|
||||
static struct sdw_driver rt715_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt715",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt715_pm,
|
||||
},
|
||||
.probe = rt715_sdw_probe,
|
||||
|
@ -503,7 +503,6 @@ static const struct dev_pm_ops rt722_sdca_pm = {
|
||||
static struct sdw_driver rt722_sdca_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "rt722-sdca",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rt722_sdca_pm,
|
||||
},
|
||||
.probe = rt722_sdca_sdw_probe,
|
||||
|
@ -262,7 +262,6 @@ MODULE_DEVICE_TABLE(sdw, sdw_mockup_id);
|
||||
static struct sdw_driver sdw_mockup_sdw_driver = {
|
||||
.driver = {
|
||||
.name = "sdw-mockup",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sdw_mockup_sdw_probe,
|
||||
.remove = sdw_mockup_sdw_remove,
|
||||
|
@ -56,7 +56,6 @@ MODULE_DEVICE_TABLE(of, aic32x4_of_id);
|
||||
static struct spi_driver aic32x4_spi_driver = {
|
||||
.driver = {
|
||||
.name = "tlv320aic32x4",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = aic32x4_of_id,
|
||||
},
|
||||
.probe = aic32x4_spi_probe,
|
||||
|
@ -63,7 +63,6 @@ MODULE_DEVICE_TABLE(of, aic3x_of_id);
|
||||
static struct spi_driver aic3x_spi_driver = {
|
||||
.driver = {
|
||||
.name = "tlv320aic3x",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = aic3x_of_id,
|
||||
},
|
||||
.probe = aic3x_spi_probe,
|
||||
|
@ -160,7 +160,6 @@ static struct pci_driver loongson_i2s_driver = {
|
||||
.id_table = loongson_i2s_ids,
|
||||
.probe = loongson_i2s_pci_probe,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.pm = pm_sleep_ptr(&loongson_i2s_pm),
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user