summaryrefslogtreecommitdiffstats
path: root/drivers/misc/apds990x.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski2015-07-10 08:23:17 +0200
committerGreg Kroah-Hartman2015-07-27 19:30:48 +0200
commit14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9 (patch)
tree422111bb36412a82af3b1efa1a1b4a93cd106dec /drivers/misc/apds990x.c
parentchar: misc: fix error path (diff)
downloadkernel-qcow2-linux-14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9.tar.gz
kernel-qcow2-linux-14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9.tar.xz
kernel-qcow2-linux-14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9.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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/apds990x.c')
-rw-r--r--drivers/misc/apds990x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/apds990x.c b/drivers/misc/apds990x.c
index 3739ffa9cdf1..a3e789b85cc8 100644
--- a/drivers/misc/apds990x.c
+++ b/drivers/misc/apds990x.c
@@ -1275,7 +1275,6 @@ static const struct dev_pm_ops apds990x_pm_ops = {
static struct i2c_driver apds990x_driver = {
.driver = {
.name = "apds990x",
- .owner = THIS_MODULE,
.pm = &apds990x_pm_ops,
},
.probe = apds990x_probe,