spi: xcomm: Drop owner assignment from i2c_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:30:46 +0000 (15:30 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jul 2015 17:10:43 +0000 (18:10 +0100)
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: Mark Brown <broonie@kernel.org>
drivers/spi/spi-xcomm.c

index bb478dccf1d82dd5d9fb1316bd04cf1755f08f0a..d0561a8d9f16e6637b749f05decaa3451dcf891a 100644 (file)
@@ -241,7 +241,6 @@ static const struct i2c_device_id spi_xcomm_ids[] = {
 static struct i2c_driver spi_xcomm_driver = {
        .driver = {
                .name   = "spi-xcomm",
-               .owner  = THIS_MODULE,
        },
        .id_table       = spi_xcomm_ids,
        .probe          = spi_xcomm_probe,