summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 08:38:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-05 22:48:20 +0200
commit01c48a59bae36f08ba27ed6bfe789aa0d14ee2a1 (patch)
tree3cdc0ee6322adef898a48f1b9364e161d54a571c
parentnvmem: Add to MAINTAINERS for nvmem framework (diff)
downloadlinux-01c48a59bae36f08ba27ed6bfe789aa0d14ee2a1.tar.xz
linux-01c48a59bae36f08ba27ed6bfe789aa0d14ee2a1.zip
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>
-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,