[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    spi: xcomm: Drop owner assignment from i2c_driver
From:       "Linux Kernel Mailing List" <linux-kernel () vger ! kernel ! org>
Date:       2015-08-31 23:02:11
Message-ID: 20150831230211.81A6C661239 () gitolite ! kernel ! org
[Download RAW message or body]

Web:        https://git.kernel.org/torvalds/c/f5e9fdaeb3ba48d9a5a6882614f42d0303355fae
Commit:     f5e9fdaeb3ba48d9a5a6882614f42d0303355fae
Parent:     d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
Refname:    refs/heads/master
Author:     Krzysztof Kozlowski <k.kozlowski@samsung.com>
AuthorDate: Fri Jul 10 15:30:46 2015 +0900
Committer:  Mark Brown <broonie@kernel.org>
CommitDate: Tue Jul 14 18:10:43 2015 +0100

    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 <k.kozlowski@samsung.com>
    Signed-off-by: Mark Brown <broonie@kernel.org>
---
 drivers/spi/spi-xcomm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/spi/spi-xcomm.c b/drivers/spi/spi-xcomm.c
index bb478dc..d0561a8 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,
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic