summaryrefslogtreecommitdiffstats
path: root/drivers/misc/tsl2550.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/tsl2550.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/tsl2550.c')
-rw-r--r--drivers/misc/tsl2550.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/tsl2550.c b/drivers/misc/tsl2550.c
index b00335652e52..87a13374fdc0 100644
--- a/drivers/misc/tsl2550.c
+++ b/drivers/misc/tsl2550.c
@@ -446,7 +446,6 @@ MODULE_DEVICE_TABLE(i2c, tsl2550_id);
static struct i2c_driver tsl2550_driver = {
.driver = {
.name = TSL2550_DRV_NAME,
- .owner = THIS_MODULE,
.pm = TSL2550_PM_OPS,
},
.probe = tsl2550_probe,