Commit 3ce095c1 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Takashi Iwai

ALSA: aoa: Drop owner assignment from i2c_driver

i2c_driver does not need to set an owner because i2c_register_driver()
will set it.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 24d9b755
...@@ -1050,7 +1050,6 @@ MODULE_DEVICE_TABLE(i2c,onyx_i2c_id); ...@@ -1050,7 +1050,6 @@ MODULE_DEVICE_TABLE(i2c,onyx_i2c_id);
static struct i2c_driver onyx_driver = { static struct i2c_driver onyx_driver = {
.driver = { .driver = {
.name = "aoa_codec_onyx", .name = "aoa_codec_onyx",
.owner = THIS_MODULE,
}, },
.probe = onyx_i2c_probe, .probe = onyx_i2c_probe,
.remove = onyx_i2c_remove, .remove = onyx_i2c_remove,
......
...@@ -939,7 +939,6 @@ MODULE_DEVICE_TABLE(i2c,tas_i2c_id); ...@@ -939,7 +939,6 @@ MODULE_DEVICE_TABLE(i2c,tas_i2c_id);
static struct i2c_driver tas_driver = { static struct i2c_driver tas_driver = {
.driver = { .driver = {
.name = "aoa_codec_tas", .name = "aoa_codec_tas",
.owner = THIS_MODULE,
}, },
.probe = tas_i2c_probe, .probe = tas_i2c_probe,
.remove = tas_i2c_remove, .remove = tas_i2c_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment