summaryrefslogtreecommitdiffstats
path: root/drivers/misc/isl29003.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 08:23:17 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-27 19:30:48 +0200
commit14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9 (patch)
tree422111bb36412a82af3b1efa1a1b4a93cd106dec /drivers/misc/isl29003.c
parentchar: misc: fix error path (diff)
downloadlinux-14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9.tar.xz
linux-14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9.zip
misc: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/isl29003.c')
-rw-r--r--drivers/misc/isl29003.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/isl29003.c b/drivers/misc/isl29003.c
index 12c30b486b27..976df0013633 100644
--- a/drivers/misc/isl29003.c
+++ b/drivers/misc/isl29003.c
@@ -465,7 +465,6 @@ MODULE_DEVICE_TABLE(i2c, isl29003_id);
static struct i2c_driver isl29003_driver = {
.driver = {
.name = ISL29003_DRV_NAME,
- .owner = THIS_MODULE,
.pm = ISL29003_PM_OPS,
},
.probe = isl29003_probe,