ALSA: aoa: Drop owner assignment from i2c_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:39:02 +0000 (15:39 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 10 Jul 2015 07:54:33 +0000 (09:54 +0200)
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/codecs/onyx.c
sound/aoa/codecs/tas.c

index 23c371ecfb6b3841a11d4b375c6e53f0c3c83324..a04edff8b729ebf8fff761c8c3814f1ab66b4a80 100644 (file)
@@ -1050,7 +1050,6 @@ MODULE_DEVICE_TABLE(i2c,onyx_i2c_id);
 static struct i2c_driver onyx_driver = {
        .driver = {
                .name = "aoa_codec_onyx",
-               .owner = THIS_MODULE,
        },
        .probe = onyx_i2c_probe,
        .remove = onyx_i2c_remove,
index 364c7c4416e8ba5c22d78a2417759288105ddeaa..78ed1ffbf786e408dd3a6de02fdf5ff065367417 100644 (file)
@@ -939,7 +939,6 @@ MODULE_DEVICE_TABLE(i2c,tas_i2c_id);
 static struct i2c_driver tas_driver = {
        .driver = {
                .name = "aoa_codec_tas",
-               .owner = THIS_MODULE,
        },
        .probe = tas_i2c_probe,
        .remove = tas_i2c_remove,
This page took 0.025557 seconds and 5 git commands to generate.