ALSA: sparc: 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>
tirimbino
Wolfram Sang 10 years ago
parent c9e2faeb20
commit 79cd176293
  1. 1
      sound/sparc/amd7930.c
  2. 1
      sound/sparc/cs4231.c
  3. 1
      sound/sparc/dbri.c

@ -1067,7 +1067,6 @@ static const struct of_device_id amd7930_match[] = {
static struct platform_driver amd7930_sbus_driver = {
.driver = {
.name = "audio",
.owner = THIS_MODULE,
.of_match_table = amd7930_match,
},
.probe = amd7930_sbus_probe,

@ -2119,7 +2119,6 @@ MODULE_DEVICE_TABLE(of, cs4231_match);
static struct platform_driver cs4231_driver = {
.driver = {
.name = "audio",
.owner = THIS_MODULE,
.of_match_table = cs4231_match,
},
.probe = cs4231_probe,

@ -2686,7 +2686,6 @@ MODULE_DEVICE_TABLE(of, dbri_match);
static struct platform_driver dbri_sbus_driver = {
.driver = {
.name = "dbri",
.owner = THIS_MODULE,
.of_match_table = dbri_match,
},
.probe = dbri_probe,

Loading…
Cancel
Save