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>
@@ -224,7 +224,6 @@ static struct platform_driver txx9aclc_ac97_driver = {
.remove = txx9aclc_ac97_dev_remove,
.driver = {
.name = "txx9aclc-ac97",
- .owner = THIS_MODULE,
},
};
@@ -66,7 +66,6 @@ static struct platform_driver txx9aclc_generic_driver = {
.remove = __exit_p(txx9aclc_generic_remove),
.name = "txx9aclc-generic",
@@ -429,7 +429,6 @@ static int txx9aclc_soc_platform_remove(struct platform_device *pdev)
static struct platform_driver txx9aclc_pcm_driver = {
.name = "txx9aclc-pcm-audio",
.probe = txx9aclc_soc_platform_probe,