summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/mcp3422.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 14:54:14 +0900
committerJonathan Cameron <jic23@kernel.org>2015-07-11 18:50:07 +0100
commit2155971a66f89924edb37c213251c4fe9f7776c0 (patch)
tree42b92eae9067751633fcafd8c4090220053c6a35 /drivers/iio/adc/mcp3422.c
parent071667a0fae08ed8c9dcdb9ff526dc66888cac4b (diff)
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/adc/mcp3422.c')
-rw-r--r--drivers/iio/adc/mcp3422.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/mcp3422.c b/drivers/iio/adc/mcp3422.c
index b96c636470ef..3555122008b4 100644
--- a/drivers/iio/adc/mcp3422.c
+++ b/drivers/iio/adc/mcp3422.c
@@ -404,7 +404,6 @@ MODULE_DEVICE_TABLE(of, mcp3422_of_match);
static struct i2c_driver mcp3422_driver = {
.driver = {
.name = "mcp3422",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(mcp3422_of_match),
},
.probe = mcp3422_probe,