summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ov7640.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 03:19:44 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 13:00:15 -0300
commitdfadaccabf93362cda7232eb9684b2eae7f2abf9 (patch)
tree51ead7acd020bf969d29a463692574ea46fecee2 /drivers/media/i2c/ov7640.c
parentf078818770e719b3c15b0ee26ace6b6088514152 (diff)
downloadlinux-dfadaccabf93362cda7232eb9684b2eae7f2abf9.tar.gz
linux-dfadaccabf93362cda7232eb9684b2eae7f2abf9.tar.bz2
linux-dfadaccabf93362cda7232eb9684b2eae7f2abf9.zip
[media] i2c: 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: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c/ov7640.c')
-rw-r--r--drivers/media/i2c/ov7640.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov7640.c b/drivers/media/i2c/ov7640.c
index faa64baf09e8..b8961df5af33 100644
--- a/drivers/media/i2c/ov7640.c
+++ b/drivers/media/i2c/ov7640.c
@@ -94,7 +94,6 @@ MODULE_DEVICE_TABLE(i2c, ov7640_id);
static struct i2c_driver ov7640_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "ov7640",
},
.probe = ov7640_probe,