summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5064.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 07:54:14 +0200
committerJonathan Cameron <jic23@kernel.org>2015-07-11 19:50:07 +0200
commit2155971a66f89924edb37c213251c4fe9f7776c0 (patch)
tree42b92eae9067751633fcafd8c4090220053c6a35 /drivers/iio/dac/ad5064.c
parentstaging: iio: Drop owner assignment from i2c_driver (diff)
downloadlinux-2155971a66f89924edb37c213251c4fe9f7776c0.tar.xz
linux-2155971a66f89924edb37c213251c4fe9f7776c0.zip
iio: 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: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/dac/ad5064.c')
-rw-r--r--drivers/iio/dac/ad5064.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c
index f03b92fd3803..c067e6821496 100644
--- a/drivers/iio/dac/ad5064.c
+++ b/drivers/iio/dac/ad5064.c
@@ -630,7 +630,6 @@ MODULE_DEVICE_TABLE(i2c, ad5064_i2c_ids);
static struct i2c_driver ad5064_i2c_driver = {
.driver = {
.name = "ad5064",
- .owner = THIS_MODULE,
},
.probe = ad5064_i2c_probe,
.remove = ad5064_i2c_remove,