diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 15:26:12 +0900 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-07-27 08:24:39 -0500 |
commit | 599ad5ac9a59587a46f6540a8e2ab79dff811f7d (patch) | |
tree | 4b574ff07a9afc3a431ab8168cc57b3f37b2a50a /drivers/of/unittest.c | |
parent | 3b6e644e6540405fd3582e0a90412fccbddd0e45 (diff) | |
download | linux-next-599ad5ac9a59587a46f6540a8e2ab79dff811f7d.tar.gz |
of: Drop owner assignment from platform and i2c driver
platform_driver and i2c_driver do not need to set an owner because core
will set it.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/unittest.c')
-rw-r--r-- | drivers/of/unittest.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c index 18016341d5a9..9f71770b6226 100644 --- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c @@ -979,7 +979,6 @@ static struct platform_driver unittest_driver = { .remove = unittest_remove, .driver = { .name = "unittest", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(unittest_match), }, }; @@ -1666,7 +1665,6 @@ static const struct i2c_device_id unittest_i2c_dev_id[] = { static struct i2c_driver unittest_i2c_dev_driver = { .driver = { .name = "unittest-i2c-dev", - .owner = THIS_MODULE, }, .probe = unittest_i2c_dev_probe, .remove = unittest_i2c_dev_remove, @@ -1761,7 +1759,6 @@ static const struct i2c_device_id unittest_i2c_mux_id[] = { static struct i2c_driver unittest_i2c_mux_driver = { .driver = { .name = "unittest-i2c-mux", - .owner = THIS_MODULE, }, .probe = unittest_i2c_mux_probe, .remove = unittest_i2c_mux_remove, |