summaryrefslogtreecommitdiff
path: root/drivers/w1/masters/ds2482.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 09:38:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-05 23:48:20 +0300
commit01c48a59bae36f08ba27ed6bfe789aa0d14ee2a1 (patch)
tree3cdc0ee6322adef898a48f1b9364e161d54a571c /drivers/w1/masters/ds2482.c
parentaee4b9bd4505d0a82cae42c35d7d4a0c08725cec (diff)
downloadlinux-01c48a59bae36f08ba27ed6bfe789aa0d14ee2a1.tar.xz
w1: 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> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/masters/ds2482.c')
-rw-r--r--drivers/w1/masters/ds2482.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/w1/masters/ds2482.c b/drivers/w1/masters/ds2482.c
index a674409edfb3..b05e8fefbabd 100644
--- a/drivers/w1/masters/ds2482.c
+++ b/drivers/w1/masters/ds2482.c
@@ -97,7 +97,6 @@ MODULE_DEVICE_TABLE(i2c, ds2482_id);
static struct i2c_driver ds2482_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "ds2482",
},
.probe = ds2482_probe,