diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 08:23:17 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-08-10 08:37:35 +0200 |
commit | 141124e6e0db645396321aabed01c5e0b12cccc1 (patch) | |
tree | e73df0e5ae080405bf5b98587da8108ffc4c6423 /drivers/misc/bh1770glc.c | |
parent | i2c: Drop owner assignment from i2c_driver (diff) | |
download | linux-141124e6e0db645396321aabed01c5e0b12cccc1.tar.xz linux-141124e6e0db645396321aabed01c5e0b12cccc1.zip |
misc: 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: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/misc/bh1770glc.c')
-rw-r--r-- | drivers/misc/bh1770glc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/bh1770glc.c b/drivers/misc/bh1770glc.c index b756381b8250..753d7ecdadaa 100644 --- a/drivers/misc/bh1770glc.c +++ b/drivers/misc/bh1770glc.c @@ -1396,7 +1396,6 @@ static const struct dev_pm_ops bh1770_pm_ops = { static struct i2c_driver bh1770_driver = { .driver = { .name = "bh1770glc", - .owner = THIS_MODULE, .pm = &bh1770_pm_ops, }, .probe = bh1770_probe, |