From: Krzysztof Kozlowski Date: Fri, 10 Jul 2015 06:30:46 +0000 (+0900) Subject: spi: xcomm: Drop owner assignment from i2c_driver X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f5e9fdaeb3ba48d9a5a6882614f42d0303355fae;p=deliverable%2Flinux.git spi: xcomm: 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: Krzysztof Kozlowski Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-xcomm.c b/drivers/spi/spi-xcomm.c index bb478dccf1d8..d0561a8d9f16 100644 --- a/drivers/spi/spi-xcomm.c +++ b/drivers/spi/spi-xcomm.c @@ -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,